[jboss-user] [JBoss Seam] - Re: conditional redirect on exception - how?

2007-08-17 Thread tynor
JIRA: http://jira.jboss.com/jira/browse/JBSEAM-1813 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075234#4075234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075234 ___

[jboss-user] [JBoss Seam] - Re: conditional redirect on exception - how?

2007-08-16 Thread matt.drees
Maybe something like this. | exception class=org.jboss.seam.security.AuthorizationException | redirect view-id=/handleAuthorizationException.xhtml | messageYou don't have permission to do this/message | /redirect | /exception | and in pages.xml

[jboss-user] [JBoss Seam] - Re: conditional redirect on exception - how?

2007-08-16 Thread tynor
Thanks Matt! That works.And it turns out that EL _is_ evaluated in the message, so i can generate two different messages depending on the cause of the exception: | exception class=org.jboss.seam.security.AuthorizationException |redirect view-id=/handleAuthorizationException.xhtml