You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Mike Bydalek (JIRA)" <ji...@apache.org> on 2008/07/19 23:58:05 UTC

[jira] Updated: (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 ]

Mike Bydalek updated WW-2727:
-----------------------------

    Attachment: ServletUrlRenderer.java.patch

Attaching patch.

> 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
>         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.