[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1625) Add parameter's to exception redirect from pages.xml
Pete Muir (JIRA)
jira-events at lists.jboss.org
Sun Jan 27 17:10:21 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-1625?page=all ]
Pete Muir updated JBSEAM-1625:
------------------------------
Summary: Add parameter's to exception redirect from pages.xml (was: <param> node in <exception> in pages.xml is not used)
Issue Type: Feature Request (was: Bug)
Component/s: Core
Description:
For example:
<exception class="org.my.Exception">
<redirect view-id="/mypage.xhtml">
<param name="u" value="#{user.username}"/>
<message severity="warn">#{messages['MSG.ERROR.MAX_TEXT_REACHED']}</message>
</redirect>
</exception>
was:
The param option in an exception node in pages.xml is not used :
<exception class="org.my.Exception">
<redirect view-id="/mypage.xhtml">
<param name="u" value="#{user.username}"/>
<message severity="warn">#{messages['MSG.ERROR.MAX_TEXT_REACHED']}</message>
</redirect>
</exception>
When the exception is triggered : redirect is done to mypage.xhtml ... not mypage.xhtml?u=whatever
Priority: Minor (was: Major)
This is a feature request and I updated the issue accordingly (neither the code nor the xsd indicates this is supported).
> Add parameter's to exception redirect from pages.xml
> ----------------------------------------------------
>
> Key: JBSEAM-1625
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1625
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Core
> Affects Versions: 2.0.0.BETA1
> Environment: jboss 4.2, seam 2.0.0.B1
> Reporter: Zalder R
> Priority: Minor
>
> For example:
> <exception class="org.my.Exception">
> <redirect view-id="/mypage.xhtml">
> <param name="u" value="#{user.username}"/>
> <message severity="warn">#{messages['MSG.ERROR.MAX_TEXT_REACHED']}</message>
> </redirect>
> </exception>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list