This content has been marked as final.
Show 3 replies
-
1. Re: Exception handling question
piklos Jul 14, 2011 8:50 AM (in response to seameddie)<exception class="org.jboss.seam.security.NotLoggedInException"> <redirect view-id="/login.xhtml"> <message severity="warn">#{messages['org.jboss.seam.NotLoggedIn']}</message> </redirect> </exception>
Try moving it pages.xml, it should work then.
Cheers.
-
2. Re: Exception handling question
piklos Jul 14, 2011 8:50 AM (in response to seameddie)I ment to say
Try moving it to pages.xml.
Ohh EDIT button where are you :)
-
3. Re: Exception handling question
seameddie Jul 14, 2011 9:28 AM (in response to seameddie)Hello.
Thx very much...i must have been confused when i first started the post...the xml-tag i mentioned actually IS in the pages.xml already after rebuilding the project from scratch via seam-gen...the components.xml only contains
<event type="org.jboss.seam.security.notLoggedIn"> <action execute="#{redirect.captureCurrentView}"/> </event>
However...i will spent some time googling why the error still occurs...all looks fine to me (as far as i can see as a seam rookie).
Stefan