[jboss-user] [JBoss Seam] - Re: Success after logging in... which page???

shane.bryzak@jboss.com do-not-reply at jboss.com
Fri Feb 9 01:13:09 EST 2007

"tony.herstell at gmail.com" wrote : After a new user registers I wanted to auto log them in (refactoring for using Seam Security).
  | I assume there is no reason I can't bully the Identity class into logging them in for me.

This is exactly what the seamspace example does.  Look at RegisterAction.uploadPicture(), plus the accompanying redirection in pages.xml:

  |     <page view-id="/register2.xhtml">
  |       <navigation from-action="#{register.uploadPicture}">
  |         <redirect view-id="/profile.xhtml"/>
  |       </navigation>
  |     </page>  

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

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

More information about the jboss-user mailing list