OpenFaces와 함께 RichFaces를 트리 테이블에 통합하려고 시도하는 중 확장 축소 버튼이 표시되지 않습니다. j의 일부가로드되지 않았 음이 밝혀졌습니다.openfaces 트리 테이블에 대한 j가 누락되었습니다.
<o:treeTable var="o">
<o:dynamicTreeStructure nodeChildren="#{bean.originNodeChildren}"
nodeHasChildren="#{bean.originHasChildren()}"/>
<o:treeColumn expandedToggleImageUrl="/img/toggle-expand-light.png"
collapsedToggleImageUrl="img/toggle-collapse-light.png">
<h:outputText value="#{o.description}"/>
</o:treeColumn>
</o:treeTable>
콩 코드 (hasChildren 방법 포함)이 올바르게 트리거되고 다음과 같이
JSF 코드이다.
JS 예외 :OpenFaces 버전 2.0 및 RichFaces 버전 3.3.3을 사용하여
Failed to load resource: the server responded with a status of 404 (/openFacesResources/META-INF/resources/openfaces/util/ajaxUtil-2.1.EA1.1143.js)
Failed to load resource: the server responded with a status of 404 (/openFacesResources/META-INF/resources/openfaces/util/util-2.1.EA1.1143.js)
Failed to load resource: the server responded with a status of 404 (/openFacesResources/META-INF/resources/openfaces/tableUtil-2.1.EA1.1143.js)
Failed to load resource: the server responded with a status of 404 (/openFacesResources/META-INF/resources/openfaces/table/table-2.1.EA1.1143.js)
Failed to load resource: the server responded with a status of 404 (/openFacesResources/META-INF/resources/openfaces/table/treeTable-2.1.EA1.1143.js)
.
그래, 우리는 그것을 언급 할 것이다. –