How to add image in headerText attribute of <p:column>
?
<p:dataTable id="tableId" var="list" value="#{beanRequest.list}" >
<p:column headerText="Date">
<h:outputText value="#{list.date}" />
</p:column>
p:column headerText="A">
<h:outputText value="#{list.a}" />
</p:column>
<p:column headerText="????????image here?????????">
<h:outputText value="#{list.b}"/>
</p:column>
</p:dataTable>
Use
<f:facet name="header">
instead to specify non-simple-text content.