如何在xhtml中创建subfacet?

时间:2016-11-11 19:47:08

标签: jsf xhtml html-table facet

我正在使用nodesrows node开发一个复杂的表格。我想为我的表格f:facet添加f:facet

我有这个。

enter image description here

我想要这个。

enter image description here

<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>

请帮助我使用xhtml代码。

0 个答案:

没有答案