Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/9.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
如何在oracle webcenter portal中列出选定节点的子节点_Oracle_Uinavigationcontroller_Navigation_Webcenter_Webcenter Sites - Fatal编程技术网

如何在oracle webcenter portal中列出选定节点的子节点

如何在oracle webcenter portal中列出选定节点的子节点,oracle,uinavigationcontroller,navigation,webcenter,webcenter-sites,Oracle,Uinavigationcontroller,Navigation,Webcenter,Webcenter Sites,我需要为我的oracle webcenter门户项目添加额外的导航。此附加导航应在导航栏中显示选定节点的子节点。此外,此附加导航应该位于左侧边栏中。我该怎么做? <af:panelGroupLayout layout="vertical"> <c:forEach var="node" varStatus="vs" items="#{navigationContext.currentModel.listModel['startNode=/, includeStart

我需要为我的oracle webcenter门户项目添加额外的导航。此附加导航应在导航栏中显示选定节点的子节点。此外,此附加导航应该位于左侧边栏中。我该怎么做?


     <af:panelGroupLayout layout="vertical">

 <c:forEach var="node" varStatus="vs" items="#{navigationContext.currentModel.listModel['startNode=/, includeStartNode=false']}">
        <c:if test="${node.selected}">
            <c:set value="${node.children}" var="childNodes" scope="session"/>
        </c:if>               
</c:forEach>

<c:if test="${childNodes ne null}">
    <c:set var="childNodes" value="${navigationContext.currentModel.currentSelection.parent.children}"/>
</c:if>
<c:forEach items="#{childNodes}" var="node2">
                <af:commandImageLink id="cil3" text="#{node2.title}"
                                     actionListener="#{navigationContext.processAction}"
                                     action="pprnav"
                                     icon="#{node2.attributes[pageFlowScope.tnBean.iconKey]}"
                                     disabled="#{not node2.navigable}"
                                     inlineStyle="#{node2.onSelectedPath ? 'font-weight:bold;' : ''}">
                  <f:attribute name="node" value="#{node2}"/>
                </af:commandImageLink>
</c:forEach>

</af:panelGroupLayout>