[ http://issues.apache.org/struts/browse/STR-2795?page=comments#action_37225 ]
Don Brown commented on STR-2795: -------------------------------- After looking further, I guess I don't see the problem: 1) getActionMappingName() is only for extracting the action name from a URI and has nothing to do with an Action lookup. Perhaps you meant getActionMappingURI()? 2) The action attribute is cleared on every recycle, so I don't see how this will affect a reuse > [taglib] 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: Struts Developer Mailing List > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
