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

          Lukasz Lenart made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jeff Turner made changes -
          Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status (temporary) [ 46628 ] Struts - editable closed status [ 49875 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status [ 45250 ] Struts - editable closed status (temporary) [ 46628 ]
          James Holmes made changes -
          Link This issue is duplicated by WW-2823 [ WW-2823 ]
          James Holmes made changes -
          Link This issue is duplicated by WW-2789 [ WW-2789 ]
          Wes Wannemacher made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Wes Wannemacher [ wesw@wantii.com ]
          James Holmes made changes -
          Fix Version/s 2.1.3 [ 21864 ]
          Dave Newton made changes -
          Link This issue is duplicated by WW-2768 [ WW-2768 ]
          Richard Wallace made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Mike Bydalek made changes -
          Field Original Value New Value
          Attachment ServletUrlRenderer.java.patch [ 13830 ]
          Mike Bydalek created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development