"lightbulb432" wrote : 
  | I spoke too soon when I said the above problem sorted itself out. The 
following does not work:
  | 
  | <exception class="org.jboss.seam.NotLoggedInException">
  |   |    <redirect view-id="/login.xhtml">
  |   |       <message>Not logged in</message>
  |   |    </redirect>
  |   | </exception>
  | 
  | This does not appear in any case. Only for authorization exceptions (when 
the user doesn't have appropriate permissions) does the message appear. Keep in 
mind the redirect is working, however, and the login.xhtml does have an 
h:messages. Is this a bug in Seam?

This is definitely working in the seamspace example in cvs.  Navigating to the 
url http://localhost:8080/seam-space/comment.seam?name=Mr_Smiley&blogId=2  
while not logged in will cause a redirect to the registration page, with the 
error message being displayed. You might like to compare the config files with 
your own to see if there's anything majorly different, otherwise if you post a 
working example to jira I'd be happy to look at it for you.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012678#4012678

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012678
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to