Struts 2
  1. Struts 2
  2. WW-2727

Using action and method in form action duplicates method part

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Component/s: Core Actions
    • Labels:
      None
    • Flags:
      Patch

      Description

      The code <@s.form action="add!input"></@s.form> outputs the following HTML:

      <form id="add_input" name="add!input" onsubmit="return true;" action="/admin/classes/add!input!input" method="post"><table class="wwFormTable"></table></form>

      Basically, the full action value is passed in when creating the ActionMapping instead of the broken down actionName.

      -Mike

        Issue Links

          Activity

            People

            • Assignee:
              Wes Wannemacher
              Reporter:
              Mike Bydalek
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development