AnsweredAssumed Answered

The column's header not is displayed

Question asked by achilles.froes on Jul 22, 2010
Latest reply on Aug 12, 2010 by achilles.froes
Hi everybody,

I customized the browse.jsp page to display some custom metadata, so far so good.
However the column's header not is displayed because a conditional that i did.
Like this:

<a:column id="cnpj" style="text-align:left" rendered="#{(BrowseBean.browseViewMode == 'details' || BrowseBean.browseViewMode == 'icons') && r.properties['custom:cnpj_contratante'] != null}">
<f:facet name="header">
<a:sortLink id="cnpj-sort" label="CNPJ" value="custom:cnpj_contratante" styleClass="header" />
</f:facet>
<h:outputText id="cnpj-txt" title="CNPJ" value="#{r.properties['custom:cnpj_contratante']}" />
</a:column>
The last conditional in a rendered property, "r.properties['custom:cnpj_contratante'] != null", makes the header disappear.
Some body have some idea about it?

Best Regards, Achilles Fróes.

Outcomes