1
我有兩個數據表,一個是巢。代碼如下:<h:dataTable的值不爲空,但頁面爲空
<h:dataTable value="#{allUserBean.userList}" var="pmUsers">
<h:column headerClass="tableHeader column8Header">
<f:facet name="header">
<h:commandLink actionListener="#{allUser.sortByEmpNo}" immediate="true">
<h:panelGrid columns="2" columnClasses="colSortText,colSortImg">
<h:outputText value="Emp No." />
<h:panelGrid rendered="#{allUserBean.sortType == 0}">
<h:graphicImage url="/images/sortup.gif" rendered="#{allUserBean.up}" />
<h:graphicImage url="/images/sortdown.gif" rendered="#{!allUserBean.up}" />
</h:panelGrid>
</h:panelGrid>
</h:commandLink>
</f:facet>
<h:outputText value="#{pmUsers.employeeNo}" />
</h:column>
<h:dataTable var="iterm" value="#{pmUsers.userMultyResumeList}"">
<h:outputText value="#{iterm}" />
</h:dataTable> `
顯示成功,但userMultyResumeList的其他dataTable不能顯示。 我使用了測試代碼,它是錯誤的。所以值不爲空,我不知道爲什麼
的用戶列表代碼:
private List<User> userList;
userList = userService.getUsersByPMGroupNotIncluded("", groupIds);
試印刷尺寸pmUsers.userMultyResumeList –