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

    Mix JSF Return Code Logic in a Rule

    Tom Goring Apprentice


      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" />

      And this:

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

      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?