Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2823

@s.form does not allow specifying anything else than !execute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.1.3
    • None
    • None

    Description

      @s.form does not seem to allow specifying the method name.

      For instance, let's say I want to post to myAction!alternateExecute, using
      @s.form action="myAction!alternateExecute" does not work, since S2 does
      not seem to understand the syntax here.

      It is thus necessary to use myAction!alternateExecution.action, but the action suffix is then hardcoded, which is not a good thing...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              samokk Sami Dalouche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: