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

    How to redirect to same page after login?

    Shalini Gupta Newbie

      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?