You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Wendy Smoak (JIRA)" <ji...@apache.org> on 2006/09/05 15:49:31 UTC
[jira] Closed: (STR-2945) tag does not submit
field values
[ http://issues.apache.org/struts/browse/STR-2945?page=all ]
Wendy Smoak closed STR-2945.
----------------------------
Resolution: Not A Problem
> <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