JSF Primefaces treeView内部组件未在除根之外的treeNode上正确渲染

JSF Primefaces treeView内部组件未在除根之外的treeNode上正确渲染,jsf,primefaces,treeview,xhtml,Jsf,Primefaces,Treeview,Xhtml,我正在尝试创建每个面的内部。问题在于,仅在的根中正确渲染。另一方面,在每次渲染时都会正确渲染 我的xhtml: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:

我正在尝试创建每个面的内部。问题在于,仅在的根中正确渲染。另一方面,在每次渲染时都会正确渲染

我的xhtml:

<ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://xmlns.jcp.org/jsf/html"
    xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
    xmlns:f="http://xmlns.jcp.org/jsf/core"
    xmlns:p="http://primefaces.org/ui">

<h:head>

</h:head>
<h:body>
    <h:form id="main_form" style="width: 100%;">
        <p:outputPanel style="width: 100%; height: 100%;overflow: auto;display: block">
            <p:tree id="commentsTree" value="#{commentsTreeManagedBean.root}" var="comment" style="width: 100%;">
                <p:treeNode>
                    <p:inputText value="#{comment.content}"/>
                    <p:textEditor widgetVar="editor2" value="#{comment.content}" height="300" style="margin-bottom:10px" placeholder="Enter your content">
                        <f:facet name="toolbar">
                            <span class="ql-formats">
                                <button class="ql-bold"></button>
                                <button class="ql-italic"></button>
                                <button class="ql-underline"></button>
                                <button class="ql-strike"></button>
                            </span>
                            <span class="ql-formats">
                                <select class="ql-font"></select>
                                <select class="ql-size"></select>
                            </span>
                        </f:facet>
                    </p:textEditor>

                </p:treeNode>
            </p:tree>
        </p:outputPanel>
    </h:form>
</h:body>


提前感谢。

如果您想报告PrimeFaces错误,请使用“谢谢”。我不知道是虫子,我以为是我做错了什么。错误报告:如果您想报告PrimeFaces错误,请使用“谢谢”。我不知道是虫子,我以为是我做错了什么。报告的错误: