Y
yok ki
Hi,
I have that simplified code lets say:
<h:datatable value="#{data.contacts}" var="contact">
<h:column>
<hutputText value="#{contact.name}" />
</h:column>
</h:datatable>
and when i want to use a detail in that bean lets say showName boolean
variable, how can i take that condition into that code?
if i put that condition as usual, it is not working because contact is
not a bean defined in managed beans.
<c:if test="${contact.showName}">
<h:column>
<hutputText value="#{contact.name}" />
</h:column>
</c:if>
and unfortunately our usual jsf syntax is not working also.
<c:if test="#{contact.showName}">
<h:column>
<hutputText value="#{contact.name}" />
</h:column>
</c:if>
Could you please lead me for a solution if you have any idea?
Thanks and Regards...
I have that simplified code lets say:
<h:datatable value="#{data.contacts}" var="contact">
<h:column>
<hutputText value="#{contact.name}" />
</h:column>
</h:datatable>
and when i want to use a detail in that bean lets say showName boolean
variable, how can i take that condition into that code?
if i put that condition as usual, it is not working because contact is
not a bean defined in managed beans.
<c:if test="${contact.showName}">
<h:column>
<hutputText value="#{contact.name}" />
</h:column>
</c:if>
and unfortunately our usual jsf syntax is not working also.
<c:if test="#{contact.showName}">
<h:column>
<hutputText value="#{contact.name}" />
</h:column>
</c:if>
Could you please lead me for a solution if you have any idea?
Thanks and Regards...