我想在LazyLoading Datatable中設置類似這樣的內容,我無法使用下面的代碼。如何使用Datatable設置目標元素的值LazyLoading
<p:dataTable var="studyPlanList" value="#{editBean.lazyModel}"
paginator="true" rows="10"
paginatorTemplate="{RowsPerPageDropdown} {FirstPageLink} {PreviousPageLink} {CurrentPageReport} {NextPageLink} {LastPageLink}"
rowsPerPageTemplate="5,10,15" selectionMode="single"
selection="#{editBean.selectedStudyPlan}"
id="studyPlanTable">
<p:ajax event="rowSelect" listener="#{editBean.onRowSelect}" update=":studyPlanEditForm:display" >
</p:ajax>
<p:column headerText="StudyPlan" sortBy="#{studyPlanList.name}" filterBy="#{studyPlanList.name}">
<h:outputText value="#{studyPlanList.name}"/>
</p:column>
</p:dataTable>
而不是p:列,如果它是h:鏈接它工作,我想實現類似的結果;請幫助。
您好Matt Handy,已發佈表代碼。請檢查。 – user1281029 2012-04-27 10:15:05