0 Replies Latest reply on Apr 4, 2012 7:45 AM by kraizzee

    How to redirect to same page after login?

    kraizzee

      How should i redirect to the current page after login authentication in SEAM?

       

      I have already added the following code to the components.xml :

       

      <event type="org.jboss.seam.security.notLoggedIn">

      <action execute="#{redirect.captureCurrentView}"/>

      </event>

       

      <event type="org.jboss.seam.security.loginSuccessful">

      <action execute="#{redirect.returnToCapturedView}"/>

      </event>

       

      but it doesn't seem to work. Any other way to solve this issue?

      How to redirect to same page after login?