menu:iterate
Iterates through all menuitems in a menu
Syntax
<menu:iterate currentSectionID="..."? depth="..."? id="..." menu="..." startID="..."?> <menu:sectionView.../> <menu:urlView.../> <menu:spaceView.../> <menu:articleView.../> </menu:iterate>
Attributes
id
, mandatory, no runtime expressionsThe current object when iterating the menu
menu
, mandatoryThe menu to iterate
currentSectionID
The id of the current section.
depth
Defines how many levels to iterate
startID
Specifies which element in the menutree we should start iterating from.
Scripting variable (id)
A scripting variable will be defined using the value of the id
attribute as its name. The variable is of type java.lang.Object
.