In a datatable column's header facet I have column header text and an input component for a custom filter. However, the header "THIS TEXT IS NOT DISPLAYED" is not displayed.
If I remove the input component the header text is correctly displayed.
E.g.
<rich:dataTable value="#{bean.gmcisDataModel}" var="gmci" id="gmcisId" > <rich:column filterMethod="#{bean.filterGmci}" filterEvent="onkeyup"> <f:facet name="header"> <h:outputText value="THIS TEXT IS NOT DISPLAYED" /> <h:inputText value="#{bean.filterValue}" id="filterValue"> <a4j:support event="onkeyup" reRender="gmcisId"/> </h:inputText> </f:facet> <h:outputText value="#{gmci.gmciName}" /> </rich:column>
Hi Martin,
Facet cannot contain more than one component. You can use h:panelGroup to wrap components.