[ http://issues.apache.org/struts/browse/STR-2795?page=all ]
Niall Pemberton closed STR-2795:
--------------------------------
Fix Version: 1.3.4
Resolution: Fixed
Fixed in revision 405216.
http://svn.apache.org/viewcvs?rev=405216&view=rev
> Postback Forms - Caching and Modules
> ------------------------------------
>
> Key: STR-2795
> URL: http://issues.apache.org/struts/browse/STR-2795
> Project: Struts Action 1
> Type: Bug
> Components: Taglibs
> Versions: Nightly Build
> Environment: Operating System: other
> Platform: Other
> Reporter: Niall Pemberton
> Assignee: Niall Pemberton
> Fix For: 1.3.4
>
> I experimented with a postback form in the struts-examples exercise modules
> and
> found two problems:
> 1) Postback forms take no account of modules so when the FormTag lookup()
> method calls TagUtils.getActionMappingName() it doesn't find the action.
> 2) More seriously, postback forms don't take into account the fact that
> servlet
> containers cache Tags. The way "postback" has been implemented, by setting
> the "action" attribute, is not going to work properly when the FormTag is
> cached and re-used on a different form.
--
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