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

Jakub Janczak (JIRA) jira-events at lists.jboss.org
Sun Mar 29 06:26:23 EDT 2009

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

Jakub Janczak updated JBSEAM-1625:

    Attachment: redirect_exception_params.patch

working patch for version 2.1.1.GA. I'll submit an example application to show how it works. Apparently it covers the params passing (eventually with converters). I omitted serving the validator and required attributes, as I don't see the point to do that.

> 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
>            Priority: Minor
>             Fix For: 2.1.2.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