[
https://issues.apache.org/struts/browse/STR-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41928
]
Ralf Hauser commented on STR-3086:
----------------------------------
Apologies. My fault. If the errors are in the session, they must be removed
after viewing them with <my:errors />.
now not only removing them but storing them under an errorKey="xyz_previous"
and then it should work with the existing doErrorsExist.
Apparently can't do that myself, therefore pls set RFE status to "invalid".
> doErrorsExist() needs to get ActionMessages errors also from the session if
> redirect is used
> --------------------------------------------------------------------------------------------
>
> Key: STR-3086
> URL: https://issues.apache.org/struts/browse/STR-3086
> Project: Struts 1
> Issue Type: Improvement
> Affects Versions: 1.3.8
> Environment: any
> Reporter: Ralf Hauser
> Assignee: Ralf Hauser
> Fix For: 1.3.10
>
>
> we use the redirect approach and for that we store the error messages in the
> session.
> Unfortunately, error tags as per
> http://www.niallp.pwp.blueyonder.co.uk/strutshighlight.html will not be found.
> There should be a way to tell the tags that it should also look for the
> errorKey in the HttpSession since we use redirect in the forward declarations
> of the struts-config.xml
> overwriting org.apache.struts.taglib.html.BaseHandlerTag.doErrorsExist()
> works, but is cumbersome
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.