0
rich : dataTable을 사용하여 MyClass 유형의 List 유형 인 요소를 표시하는 데 사용됩니다. 제가 사용하여 소스 코드를 찾을 때 동일한 행에 StudentName 마크를 표시 할 상기 코드 스피하지만 문제를 사용하여rich : 열이 추가 td 요소를 생성 중입니다.
<rich:dataTable value="#{myBean.myClassList}"> var="item"
<rich:column>
<h:outputText value="#{item.stdName}"
</rich:column>
<rich:column>
<table class="subtable">
<tr>
<ui:repeat value="#{item.listStr}" var="stdMarks">
<td><h:outputText value="#{stdMarks}"/></td>
</uirepeat>
</tr>
</table>
</rich:column>
는 AS (아래 설명) 부호를 생성하는 다른 빈 컬럼을 표시 한 후이고 방화범.
위 코드의 소스 코드는 아래와 같습니다.
<table id="selectForm:servicesDispTable" class="rich-table servicesDispClassTable" width="850">
<tr>
<td id="selectForm:servicesDispTable:1:j_id51" class="rich-table-cell>
<span>Kumar</span>
</td>
<td id="selectForm:servicesDispTable:1:j_id53"><span>89</span></td>
<td id="selectForm:servicesDispTable:1:j_id57"><span>76</span></td>
<td><!-- comment generating extra column here -->
<table class="subtable">
<tr></tr>
</table>
</td>
</tr>
</table>
추가 열 생성을 피하려면 어떻게해야합니까? 어느 누구도이 일에서 나를 도울 수 있었을 것입니다. 또한 내가 지금까지 UI를 사용하여 해본 적이있는 것은 무엇입니까? 반복해서 부자의 얼굴 태그 중 하나를 사용하여이를 달성 할 수 있습니까?