[ http://issues.apache.org/struts/browse/STR-2945?page=all ]

Mike Barlow updated STR-2945:
-----------------------------

    Issue Type: Temp  (was: Bug)
      Priority: Minor  (was: Major)

Apologies - a misunderstanding of functionality.

Issue should be closed.

> <html:link> tag does not submit <html:hidden> field values
> ----------------------------------------------------------
>
>                 Key: STR-2945
>                 URL: http://issues.apache.org/struts/browse/STR-2945
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Taglibs
>    Affects Versions: 1.2.9
>         Environment: XP
> Tomcat 5.5
> Java 1.5
>            Reporter: Mike Barlow
>            Priority: Minor
>
> The <html:hidden> field values associated with an <html:form> are not added 
> to the request when a submit is performed via <html:link>
> For example:
> <html:form action="/MyAction">
>    <html:hidden property="myID" value="1"/> 
>    <html:link action="/MyAction">Method 1</html:link>
>    <html:submit>Method 2</html:submit>
> </html:form>
> "Method 1" link clicked:
> - downstream action mapped by "/MyAction" returns null in response to 
> request.getParameter("myID");
> "Method 2" button clicked:
> - downstream action mapped by "/MyAction" returns "1" in response to 
> request.getParameter("myID");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to