If you are using a datatable or any other component of Primefaces or JSF and want to print the size of a list or collection you will find problems. Below is an example of how to do this.
<h:outputText value=”#{fn:length(myController.myList)}”/>
Solutions for developers
If you are using a datatable or any other component of Primefaces or JSF and want to print the size of a list or collection you will find problems. Below is an example of how to do this.
<h:outputText value=”#{fn:length(myController.myList)}”/>