Jsf 如何在xhtml中创建子面?
我正在开发一个复杂的表,其中包含Jsf 如何在xhtml中创建子面?,jsf,xhtml,html-table,facet,Jsf,Xhtml,Html Table,Facet,我正在开发一个复杂的表,其中包含节点和许多行by节点。我想为我的表添加f:facets到f:facet 我有这个 我想要这个 <h:form id="formPartes"> <h:panelGroup id="pgPartes"> <p:treeTable id="tablaPartes" class=" validate tablaNormal" style="border:none;" value="#{estrategiaBean.
节点
和许多行
by节点
。我想为我的表添加f:facet
s到f:facet
我有这个
我想要这个
<h:form id="formPartes">
<h:panelGroup id="pgPartes">
<p:treeTable id="tablaPartes" class=" validate tablaNormal" style="border:none;" value="#{estrategiaBean.nodoProyecto}" var="parte">
<p:column headerText="Nombre">
<h:outputText value="#{parte.nombre}" />
<h:panelGroup id="agregarParteHija#{generalBean.unir(parte.nombre)}">
<h:commandLink action="#{estrategiaBean.cargarNuevaParte(parte)}">
<f:ajax render=":formNuevaParte:pgNuevaParte" execute="agregarParteHija#{generalBean.unir(parte.nombre)}"/>
<i class="material-icons small">add</i>
</h:commandLink>
</h:panelGroup>
</p:column>
<p:column headerText="Ts...">
<ui:repeat value="#{estrategiaBean.funcionesDeParte(parte)}" var="atributo">
<table>
<thead>
<tr>
<ui:repeat value="#{atributo.obtLista('TAM_Ciclo')}" var="atributo3">
<th class="ui-state-default">
#{atributo3.atributo}
</th>
</ui:repeat>
</tr>
</thead>
<tbody>
<tr>
<ui:repeat value="#{atributo.obtLista('TAM_Ciclo')}" var="atributo3">
<td>
<h:inputText value="#{atributo3.valor}"/>
</td>
</ui:repeat>
</tr>
</tbody>
</table>
</ui:repeat>
</p:column>
</p:treeTable>
<h:panelGroup>
</h:form>
添加
#{atributo3.atributo}
请帮助我使用
xhtml
code 是否尝试了数据表中的列组?不确定是否有效,只是猜测而已