3 Replies Latest reply on Feb 14, 2011 9:28 AM by mmulligan03

    page view-id not equal to

    mmulligan03 Newbie

      For every page except one I want a action to be executed with every request sent to the server. 

      for instance:
      I have a page called home.xhtml and I don't want the action to be executed when a request comes in for this page but for every other page the action should get executed.

      Is there any way here to say if the view-id is not /home.xhtml ?

      <page view-id="*" >
           <action execute="#{authenticator.setCookie()}"  />
               <rule if-outcome="home">
                   <redirect view-id="/home.xhtml" />