1 Reply Latest reply on Apr 12, 2008 4:22 AM by tom_goring

    Mix JSF Return Code Logic in a Rule

    tom_goring

      Hi,


      You can define this:



      <navigation from-action="#{identity.login}">
       <rule if="#{identity.loggedIn and user.temporary}">
        <begin-conversation flush-mode="manual" join="true"/>  
        <redirect view-id="/login/UserUpdateTemporary.xhtml" />
       </rule> 
      



      And this:



      <navigation from-action="#{personAlert.confirm()}">
       <rule if-outcome="success">
        <end-conversation/>
        <redirect view-id="/user/UserHome.xhtml" />
        </rule>
      </navigation>
      



      but I don't see how I can mix a JSF return value with some other logic like:



       <rule if-outcome="success and #{user.temporary}">
      



      Is this possible? what is the syntax?