- preparation for rewrite: removed rendered attribute
- used fn:length(someList) instead of someList.size()
Signed-off-by: Roland Häder <roland@mxchange.org>
<h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
</div>
- <p:dataTable id="userList" var="user" value="#{userController.allUsers()}" tableStyleClass="table" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.allUsers().size() lt 0}">
+ <p:dataTable id="userList" var="user" value="#{userController.allUsers()}" tableStyleClass="table" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_USER_LIST}">
<ui:fragment rendered="#{profileController.isProfileLinkVisibleByUser(user)}">
<p:column>
<f:facet name="header">