0 Replies Latest reply on Jul 1, 2010 4:38 PM by Mita Bhushan

    redirect.returnToCapturedView does not work in JBossAS 5.1

    Mita Bhushan Newbie

      I upgraded my application form Jboss 4.2 to Jboss 5.1

      redirect.returnToCapturedView works in 4.2 but not in 5.1

      my component.xml has

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


      <page view-id="/sales.xhtml" login-required="true" action="#{redirect.captureCurrentView}">
                  <rule if-outcome="viewQuote">
                      <redirect view-id="/Inquire.xhtml"/>

      Inquire.xhtml has a action button when clicked it still stays on the same page
      when deloyed in 5.1 and works perfectly fine when deployed in 4.2

      <div class="actionButtons">      
               <s:button action="#{redirect.returnToCapturedView}"