Description: A menu component with extended features. Supports:
JavaDoc: Click here
Remarks: All inner content will be ignored, except for inner menuItem components
Body content: JSP content.
Attributes:
Name | Description | Data type | Required | Default value |
name | The name (identifier) of the menu | String | Yes | - |
title | The label for the menu box | String | No | - |
layout | Menu rendering layout. | pt.digitalis.dif.presentation.views.jsp.taglibs.layout.MenuLayoutType | No | pt.digitalis.dif.presentation.views.jsp.taglibs.layout.MenuLayoutType.MAIN |
cssClass | CSS class to add to the menu container | String | No | - |
iconImage | Icon to use as the side bar image. For MAIN_SIDE_ICON type only | No | - | |
dynamicSubMenus | Generate sub-menus collapsible | Boolean | True for TOP_MENU and NAVBAR (if at least 5 top nodes exist) | - |
editable | Allow menu customization by administration users. IN DEVELOPMENT!!! | Boolean | No | False |
adminGroup | Administration user group. IN DEVELOPMENT!!! | String | No | Administrators |
Layout values: Available layouts:
Examples:
<dif:document> <dif:menu name="main" title="Main menu"> <dif:menuItem /> <dif:menuItem stageID="mokupteststage" /> <dif:menuItem url="/index.html" /> <dif:menuItem label="Sites"> <dif:menuItem url="http://www.digitalis.pt" /> <dif:menuItem url="http://development.digitalis.pt" /> </dif:menuItem> </dif:menu> ... </dif:document>
See also: