myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-3763) Navigation with <from-action> and <if> case should match both
Date Thu, 29 Aug 2013 02:49:53 GMT
Leonardo Uribe created MYFACES-3763:
---------------------------------------

             Summary: Navigation with <from-action> and <if> case should match
both
                 Key: MYFACES-3763
                 URL: https://issues.apache.org/jira/browse/MYFACES-3763
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314, JSR-344
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


There is an small bug in the algorithm that resolve navigation cases. For a rule like this:

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

If the condition under the if is true it does not enforce the from-action, leading to a wrong
match under some conditions. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message