c:choose renders every option
-----------------------------
Key: MYFACES-2409
URL: https://issues.apache.org/jira/browse/MYFACES-2409
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0-alpha
Reporter: Jakob Korherr
Testing the mojarra bean-validation sample, I found out that c:choose does not
work correctly, because it renders every possible option.
For example: The following facelet code will result in "when_false when_true
otherwise", but should result in "when_true".
<c:choose>
<c:when test="#{false}">
when_false
</c:when>
<c:when test="#{true}">
when_true
</c:when>
<c:otherwise>
otherwise
</c:otherwise>
</c:choose>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.