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
___
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
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