0

Oracle WebCenter ポータル プロジェクトにナビゲーションを追加する必要があります。この追加のナビゲーションでは、ナビゲーション バーにある選択したノードの子のみが左側のサイドバーに表示されます。これどうやってするの ?リストのナビゲーションを変更しようとしましたが、できませんでした。pageTemplate_globe.jspx を使用します。手伝ってくれてありがとう。

4

1 に答える 1

0
     <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>
于 2014-05-08T17:29:21.143 に答える