2011-02-07 3 views
1

난 그냥 내 콩에 DataTable을 PrimeFaces의 목록을 가지고, 내가 UI를 사용하려면 관련 질문 why-doesnt-hdatatable-inside-uirepeat-get-correct-idUI는 : AP와 함께 작동하지 않습니다을 반복 : 모든 테이블을 순환 반복 : 데이터 테이블

를 참조하십시오. . 그러나 반복이 작동하지 않습니다 ..

어떤 아이디어?

<ui:repeat id="searchTables" 
        value="#{searchBean.resultList}" 
        var="currentListOfLists"> 
      <p:dataTable id="bindedTable" 
         binding="#{currentListOfLists}" 
         var="currentList"/> 
     </ui:repeat> 

답변

1

당신의 데이터 테이블이 반복에서 수행되어야하는 값이없는 : 코드의

내 관련 부분은 다음과 같다.

<p:dataTable value="#{currentListOfLists}" var="currentList"> 

바인딩 속성은 dataTable을 백업 빈의 속성에 연결하는 데 사용됩니다.

+0

마크, 관찰 해 주셔서 감사합니다. 비록 그것이 실제로 내 문제를 해결하지는 못했지만 (목록이 DataTables에 표시되지 않았으므로이 시작점이 좋은 출발점이되었습니다 :) – camiloqp