0 Replies Latest reply on Sep 18, 2009 10:45 AM by magiccreative

    identity.logout leading to a loss of facesMessages

    magiccreative

      hi,

      I have looked for an answer on the forums but to no avail.


      When I redirect to a page after an action, the messages are lost. How can I keep them?


      For example, after using identity.logout() in someAction() here:




       
      <page view-id="/viewWhatever.xhtml" login-required="true">
                
                <action execute="#{someBean.someAction()}" />
                     
                <navigation>
                
                <rule if-outcome="exception">
                
                      <redirect view-id="/error.xhtml" > 
                                               
                      </redirect>
              </rule>
                </navigation>
           </page>