menu
Menus are configured inline in the JSP page.
Performance can be improved by caching menu contents at the server using l:cache
| Tag Information | |
|---|---|
| Tag Class | org.loom.tags.menu.MenuTag | 
| Body Content | scriptless | 
| Dynamic Attributes | true | 
| Example | <l:menu id="menu"> <l:menuItem action="Mortgages" event="listAll"/> <l:menuItem action="Leasing" event="listAll" aliases="create, edit, save"/> <l:menuItem href="/support/listAllActions.jsp" label="ListAll"/> <l:menuItem action="Mail" event="showFolder" param-folderName="INBOX"/> </l:menu>  | 
                                    
Attributes
| Name | Description | Flags | 
|---|---|---|
| cache | 
                                             Deprecated. since Loom 2.0 this attribute will be ignored (see #LOOM-231). Instead, use l:cached  | 
                                        
                                             rtexprvaluedeprecated 
                                         | 
                                    
| class | HTML attribute | 
                                             rtexprvalue 
                                         | 
                                    
| css | css class of this menu | 
                                             rtexprvalue 
                                         | 
                                    
| decorator | The name of the decorator to use. The default decorators for any form field will display the surrounding label. | 
                                             rtexprvalue 
                                         | 
                                    
| id | HTML attribute | 
                                             rtexprvalue 
                                         | 
                                    
| itemSeparator | separator printed between menu items when using decorator "inline" | 
                                             rtexprvalue 
                                         | 
                                    
- button
 - cache
 - column
 - css
 - error
 - errors
 - exception
 - footer
 - form
 - formatDate
 - formatDuration
 - formatFileSize
 - img
 - inputCheckbox
 - inputFile
 - inputHidden
 - inputImage
 - inputPassword
 - inputRadio
 - inputSelect
 - inputText
 - inputTextArea
 - link
 - localeMenu
 - menu
 - menuItem
 - messages
 - option
 - out
 - outProperty
 - pagedList
 - pagedTable
 - param
 - redirect
 - script
 - tab
 - tabContainer
 - url
 - functions