2
And I have a p:datatable:
<p:dataTable var="ind" value="#{logIndPersistBean.list}" paginator="true" rows="10"
id="table" rowStyleClass="odd-row, even-row">
<f:facet name="header">
Lista de Log
</f:facet>
<p:column headerText="Name" >
<h:outputText value="#{ind.name}"/>
</p:column>
<p:column headerText="Date" >
<h:outputText value="#{ind.date}" />
</p:column>
</p:column>
</p:dataTable>
When I run a new search, if it does not return any records, the datatable displays the message "No Records found." , there’s some way that I don’t have to display this message, just the empty list ?
I know I just need to add emptyMessage="", but I want to change the default message, i.e., instead of "No Records found." to "Your search has returned nothing" or simply "".
Is there any way to change this default message ?
I’m using 4.0 primefaces.
Thanks in advance !
Thank you, your solution worked perfectly !
– Edson Cezar