[jboss-user] [JBoss Seam] - Re: how to redirecto back to intented page after login

shane.bryzak@jboss.com do-not-reply at jboss.com
Mon Feb 12 23:09:05 EST 2007


Look at components.xml in the seamspace example.  Here's the relevant bits:


  |     <event type="org.jboss.seam.notLoggedIn">
  |         <action expression="#{redirect.captureCurrentView}"/>
  |     </event>
  |     
  |     <event type="org.jboss.seam.postAuthenticate">
  |         <action expression="#{redirect.returnToCapturedView}"/>
  |     </event>  
  | 

This feature is also covered in the Seam documentation, in section 12.2.6 (the security chapter).

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

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



More information about the jboss-user mailing list