Code: Select all
<p:dataTable id="myTable" value="#{list}" var="v">
<p:column headerText="Column1">
<h:outputText value="#{v.value}"/>
</p:column>
<p:column headerText="Column2" rendered="#{v.something == 'some string'}">
<h:outputText value="#{v.something}"/>
</p:column>
</p:dataTable>
The problem is the rendering of columns inside my dataTable.
When my condition is TRUE the column shows but the title disappears. The width property isn't respected too. The problem occurs only in the column I use that "conditional rendering".
Is this a bug or am I doing something wrong? I think some kind of error is happening during the rendering process but I have no log to investigate.
Any ideas?