You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wes Wannemacher (JIRA)" <ji...@apache.org> on 2008/12/06 06:10:37 UTC

[jira] Resolved: (WW-2727) Using action and method in form action duplicates method part

     [ https://issues.apache.org/struts/browse/WW-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher resolved WW-2727.
---------------------------------

    Resolution: Fixed
      Assignee: Wes Wannemacher

patch from WW-2768 tested and applied

> Using action and method in form action duplicates method part
> -------------------------------------------------------------
>
>                 Key: WW-2727
>                 URL: https://issues.apache.org/struts/browse/WW-2727
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.2
>            Reporter: Mike Bydalek
>            Assignee: Wes Wannemacher
>            Priority: Critical
>             Fix For: 2.1.3
>
>         Attachments: ServletUrlRenderer.java.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.