This content has been marked as final.
Show 2 replies
-
1. Re: FacesMessages living beyond notLoggedIn Event
shane.bryzak Jul 5, 2007 10:12 PM (in response to monkeyden)By default, Seam does not intercept the notLoggedIn event. However, faces messages are conversation scoped, and if you've hooked up redirect.captureCurrentView to this event in your components.xml (as I'm guessing) then this might explain it. I suggest putting a breakpoint in org.jboss.seam.faces.Redirect.captureCurrentView() and watch what happens to the conversation context here.
-
2. Re: FacesMessages living beyond notLoggedIn Event
monkeyden Jul 6, 2007 2:27 PM (in response to monkeyden)Thanks Shane. This is exactly what I'm doing. At the start of that method there is a FacesContext created and messages is already empty. I suspect that something is happening before we get there. I hoped that by joining the conversation, messages would be available:
conversationBegun = Conversation.instance().begin(true, false);
No such luck. Am I misinterpreting what's going on here?