0 Replies Latest reply on Feb 14, 2008 10:07 AM by Terry

    Seam doesn't go to clicked page after login

    Terry Apprentice

      With security enabled. when session expires with browser still open; clicking on some link asks to relogin; after loging in rather than going to clicked page it goes back to the page which was last open when session expired.

      This used to work with pre 2 releases.

      current version in use Seam 2.0.1GA.

      components.xml
      
      ...
       <event type="org.jboss.seam.security.notLoggedIn">
       <action execute="#{redirect.captureCurrentView}"/>
       </event>
       <event type="org.jboss.seam.security.postAuthenticate">
       <action execute="#{redirect.returnToCapturedView}"/>
       </event>
      ...