Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf 如何在xhtml中创建子面?_Jsf_Xhtml_Html Table_Facet - Fatal编程技术网

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

是否尝试了数据表中的列组?不确定是否有效,只是猜测而已