Hi,
By default (XSLT rendering) navigation component lists all channels from Home to All subLevels in TreeView.
But while Overriding with JSP not able to get the lists like default. Could someone share the JSP to lists all channels as TreeView.
<x:forEach select="$componentRoot/channel[@expanded='true']/channel/channel/channel" varStatus="status">
<c:set var="vcmId"><x:out select="channelVCMId"/></c:set>
<c:set var="isSelected"><x:out select="@selected"/></c:set>
<templating:contentLink var="linkUrl" oid="${vcmId}" format="${param.vgnextfmt}"/>
<li <c:if test='${isSelected}'>class='active'</c:if>>
<a href="${linkUrl}">
<x:out select="channelName"/>
</a>
</li>
</x:forEach>
Above Code lists few channels not ParentChannels & Child Channels (We have nearly 5 SubLevels)
Thanks
Jayaram