[jboss-user] [JBoss Seam] - Re: session timeout handling

jbalunas@redhat.com do-not-reply at jboss.com
Tue Dec 18 09:16:11 EST 2007


Hi Rich,

You could try this approach from the booking example.  I'm not 100% sure if it works on session timeout, or just a conversation that has ended though.

The pages.xml from the booking example has a " no-conversation-view-id="/main.xhtml"" entry that I believe will handle this case.  The conversation (and session) are gone so I would think that this would forward to main.xhtml.  Below is the top part of the pages.xml.  You might need to actually start a conversation for this to work (I'm not sure if it works off of the session).

-Jay


  | <pages xmlns="http://jboss.com/products/seam/pages"
  |       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |       xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
  | 
  |       no-conversation-view-id="/main.xhtml"
  |                 login-view-id="/home.xhtml">
  | 


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113789



More information about the jboss-user mailing list