[seam-issues] [JBoss JIRA] Created: (JBSEAM-4608) Add ability to render to a specific view after an exception is thrown

zzzz8 (JIRA) jira-events at lists.jboss.org
Tue Mar 23 14:57:37 EDT 2010

Add ability to render to a specific view after an exception is thrown

                 Key: JBSEAM-4608
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4608
             Project: Seam
          Issue Type: Feature Request
            Reporter: zzzz8

Seam currently supports the ability to redirect to a certain page (as specified in pages.xml) after an exception is thrown.  It would be helpful if Seam supports the ability to render to a certain page, too.  This is especially helpful for portals and portlets, where the ability to perform a redirect is unavailable.  Example:

<exception class="org.jboss.seam.framework.EntityNotFoundException">
	<render view-id="/error.xhtml">
		<message severity="warn">Record not found</message>

As a (hopefully temporary) workaround, I am currently using RenderNavigationHandler in my page actions to accomplish this.  Example:

RenderNavigationHandler navHandler = new RenderNavigationHandler(
									"/error.xhtml", String.class), null, null,

This is quite ugly to do and gets even uglier if there are additional pages...

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