ifNavNodeIsLaunchableFolder
Use
Includes its body if the current node is a folder and one of its child nodes is marked as Default Entry for Folder , regardless of whether this child node is marked as Invisible in Navigation Areas or not.
Cooperating Tags
The tag must be nested in one of the following tags:
-
contextNavNode
-
iterateInitialNavNodes
-
iterateNavNodeChildren
-
iterateNavNodesInSelectedPath
-
iterateSelectedNavNodesLevel
-
launchedNavNode
-
navNode
-
navNodeParent
-
recallNavNode
-
recurseNavNodeChildren
-
selectedNavNode
Example
The following displays:
-
A navigation link together with a clickable folder icon for toggling the folder, if the current node is a launchable folder node with child nodes
-
A navigation link together with a page icon, if the current node is a launchable folder node without child nodes
-
A simple text (the node's title) together with a folder icon, if the current node is a simple (not launchable) folder node with child nodes
-
A navigation link together with a page icon, if the current node is a page or iView
-
Nothing, if the node is an empty folder node
<nav:ifNavNodeIsLaunchableFolder>
<nav:ifNavNodeHasChildren>
<a href="javascript:toggleFolder(this)">
<img src="<%=imagesUrl%>/folder_closed.png" />
</a>
<nav:navNodeAnchor navigationMethod="byURL"/>
</nav:ifNavNodeHasChildren>
<nav:ifNotNavNodeHasChildren>
<img src="<%=imagesUrl%>/page.png" />
<nav:navNodeAnchor navigationMethod="byURL"/>
</nav:ifNotNavNodeHasChildren>
</nav:ifNavNodeIsLaunchableFolder>
<nav:ifNotNavNodeIsLaunchableFolder>
<nav:ifNavNodeIsFolder>
<nav:ifNavNodeHasChildren>
<a href="javascript:toggleFolder(this)">
<img src="<%=imagesUrl%>/folder_closed.png" />
</a>
<nav:navNodeTitle/>
</nav:ifNavNodeHasChildren>
</nav:ifNavNodeIsFolder>
<nav:ifNotNavNodeIsFolder>
<img src="<%=imagesUrl%>/page.png" />
<nav:navNodeAnchor navigationMethod="byURL"/>
</nav:ifNotNavNodeIsFolder>
</nav:ifNotNavNodeIsLaunchableFolder>