Conditional navigation match has priority over same case without conditional 
navigation
---------------------------------------------------------------------------------------

                 Key: MYFACES-3324
                 URL: https://issues.apache.org/jira/browse/MYFACES-3324
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


Conditional navigation match has priority over same case without conditional 
navigation

for example:

  <navigation-rule>
    <from-view-id>/a.jsp</from-view-id>
    <navigation-case>
        <from-outcome>go</from-outcome>
        <if>#{test.true}</if>
        <to-view-id>/b.jsp</to-view-id>
    </navigation-case>
  </navigation-rule>
  <navigation-rule>
    <from-view-id>/a.jsp</from-view-id>
    <navigation-case>
        <from-outcome>go</from-outcome>
        <to-view-id>/c.jsp</to-view-id>
    </navigation-case>
  </navigation-rule>

should return b.jsp, but it is returning c.jsp. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to