0 Replies Latest reply on Nov 13, 2009 5:56 PM by Kurt Bliefernich

    EntityQuery Single result redirect

    Kurt Bliefernich Newbie

      I am trying to add a navigation rule to a OrderList.page.xml file to redirect the user to the OrderEdit.xhtml page.




       <navigation from-action="OrderList.xhtml">
        <rule if="#{orderList.resultList.size == 1}">
         <redirect view-id="/NjTaxOrderEdit.xhtml">
          <message>Single Result page redirect</message>
          <param name="orderId" required="true" value="#{orderList.singleResult.orderId}"/>
         </redirect>
        </rule>
       </navigation>



      It seems that the navigation rule is never fired.  The page always displays the OrderList.xtml page.


      Any insight.