In an XHTML page, I want to condition the code with a tag <c: if ...>
I declare a variable with <c: set var = ... /> but it is always empty!
Thanks for your help.
Here is my code:
Code: Select all
<p:dataTable id="idRefContributeur"
value="#{contributeurManagerBean.colContributeurFacade.listeColContributeur}"
var="contributeur"
...
<c:set var="ligneType" value="#{contributeur.type}"/>
<c:if test="${ligneType == 'G'}"> <----- Don't work !
...
<c:if test="${ligneType == 'L'}"> <----- Don't work !
...