[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1625) Add parameter's to exception redirect from pages.xml

Norman Richards (JIRA) jira-events at lists.jboss.org
Mon May 4 11:04:47 EDT 2009

     [ https://jira.jboss.org/jira/browse/JBSEAM-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Richards updated JBSEAM-1625:

    Fix Version/s: 2.2.0.CR1
                       (was: 2.1.2.CR2)

This will have to wait for 2.2.  While adding parameters in a redirect is not a problem, we do have the issue that exception processing takes place after the seam contexts are closed and many of the components you would want to reference have already been destroyed.  I'm looking into this in JBSEAM-4148, but any such changes to resolve this are too big for a CR2 release.

> Add parameter's to exception redirect from pages.xml
> ----------------------------------------------------
>                 Key: JBSEAM-1625
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-1625
>             Project: 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
>            Assignee: Norman Richards
>            Priority: Minor
>             Fix For: 2.2.0.CR1
>         Attachments: redirect_exception_params.patch
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list