This content has been marked as final.
Show 2 replies
-
1. Re: message severity="ERROR" doesn't work
rhomber Apr 16, 2008 3:46 AM (in response to rhomber)Any ideas people? I will try and upgrade to the new version of Seam today and see if that helps.. but if anyone has an idea please let me know :)
David
-
2. Re: message severity="ERROR" doesn't work
nuno.caneco Jun 4, 2008 6:15 PM (in response to rhomber)Hi!
I'm having the same problem with my app.
According to the definition in my pages.xml file:
<exception class="org.jboss.seam.security.AuthorizationException"> <end-conversation/> <redirect view-id="/error.xhtml"> <message severity="WARN">Authorization exception</message> </redirect> </exception>
I should be redirected to /error.xhtml and get that message with WARN severity.
But what happens is that I get redirected to /error.xhtml page, but the message does not appear.
Also, I get this message on my log:
2008-06-04 17:01:12,043 ERROR [org.jboss.seam.jsf.SeamPhaseListener] uncaught exception org.jboss.seam.security.AuthorizationException: Authorization check failed for expression [#{sdsAuth.canManageSystemMaintenance}]
Does this happens to you too?
Have you been able to overcome this issue?