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 I do not return any records, the dataTable displays the message "No records found." Is there any way I do not have to display this message, just the empty list?
I know I only need to add emptyMessage="", but I want to change the default message, ie instead of "No records found." to "Your search did not return anything" or simply "".
Is there any way to change this default message?
I'm using 4.0 primefaces.
Thank you in advance!