This content has been marked as final.
Show 3 replies
-
1. Re: Seam exception handler and facelets stack print
6sic6 Sep 3, 2008 12:44 PM (in response to 6sic6)The exception is correctly catched by seam
I've set the 'facelets.DEVELOPMENT' to 'false' in the web.xml but facelets is still logging the exception through 'handleRenderException'. Is this problem seam related? thanks -
2. Re: Seam exception handler and facelets stack print
6sic6 Sep 3, 2008 1:00 PM (in response to 6sic6)going through facelets src .. the prob is that facelets log all the SEVERE errors
-
3. Re: Seam exception handler and facelets stack print
indusukumar Jan 10, 2009 8:06 AM (in response to 6sic6)i have turned off facelets.DEVELOPMENT
i have made debug mode to false in components.xml
i have configured my specific exceptions in pages.xml as
<exception class="org.jboss.seam.security.NotLoggedInException">
<redirect view-id="/login.xhtml">
<message>Please log in first</message>
</redirect>
</exception>
<exception>
<redirect view-id="/error/error.xhtml">
<message>#{org.jboss.seam.handledException.message}</message>
</redirect>
</exception>
<exception class="com.ge.health.bbt.session">
<redirect view-id="/error/error.xhtml">
<message>Exception Occured</message>
</redirect>
</exception>
and redirected to error page in exception class
as @ redirect annotation
@Redirect(viewId="/error.xhtml", end=true)
@ApplicationException(rollback=true)
it works fine but its not redirecting to error page
can anyone help me on this???????