I'm working with JSF and JSTL, the code above doesn't work!
<ui:repeat var="reponse" value="#{gPost.reponses}"> UserLogin : #{reponse.utilisateur.login}
<c:if test="${reponse.utilisateur.login eq 'X'}">
Utilisateur equivalent X
</c:if>
</ui:repeat>
This code iterate, i have two element to be iterated, the output is this :
UserLogin : Y
UserLogin : X
It must be :
UserLogin : Y
UserLogin : X
Utilisateur equivalent X
The tag <c:if test="${reponse.utilisateur.login eq 'X'}">
is not correct?