[
https://issues.apache.org/jira/browse/MYFACES-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783088#action_12783088
]
Jakob Korherr commented on MYFACES-2409:
----------------------------------------
Today I tested the sample again and now it works correctly. I don't know what
changed, but now it works!
> 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.