[jboss-user] [JBoss Seam] - Re: How do I select an initial page after login chosen by us

zzztimbo do-not-reply at jboss.com
Mon Mar 19 11:54:57 EDT 2007



"gavin.king at jboss.com" wrote : The best option is:
  | 
  | <rule if="#{identity.loggedIn}">
  | 
  | No need for any special changes to Identity.


What should the behavior be for this:


  | <page view-id="/home.xhtml">
  |    <navigation>
  |       <rule if="#{identity.loggedIn}">
  |          <redirect view-id="/main.xhtml"/>
  |       </rule>
  |    </navigation>
  | </page>
  | 

I copied this from the pages.xml of the booking example. 
After I log in from home.seam, I get taken to main.seam. This is to be expected. When I explicitly go back to home.seam, should it redirect me again to main.seam? The current behavior I am getting is that it just sits there at home.seam. Logging in again of course works and takes me appropriately to main.seam. 



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

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



More information about the jboss-user mailing list