ICEfaces-EE ACE Components
Tag menu


Menu is a navigation component with various customized modes like multi tiers, overlay and nested menus.

For more information, see the Menu Wiki Documentation.


Tag Information
Tag Classorg.icefaces.ace.component.menu.MenuTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
atnotruejava.lang.StringWhen position is dynamic, this attribute specifies the corner of trigger element to align with the menu. The format is "<left|right> <top|bottom>" (examples: "left top", "right bottom"). Default = 'left bottom'.
backLabelnotruejava.lang.StringLabel for the 'back' link (only applies to sliding menus). Default = 'Back'.
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
effectnotruejava.lang.StringSets the effect for the menu display, default value is FADE. Possible values are "FADE", "SLIDE", "NONE". Use "NONE" to disable animation at all. Default = 'fade'.
effectDurationnotrueintSets the effect duration in milliseconds. Default = '400'.
forceMenuUpdatenotruejava.lang.BooleanSet to true when the entire menu needs to be updated in the client, such as when an individual menu item changes label or styling, and the entire menu needs to be reinitialized in the client in order to get all the styling and behaviour re-applied to the new HTML nodes. The value of this attribute will be automatically set to false by the component after consuming it (if applicable). Default = 'false'.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
maxHeightnotrueintMaximum height (in pixels) for the menu (only applies to sliding menus). Default = '200'.
modelnotrueorg.icefaces.ace.model.MenuModelorg.icefaces.ace.model.MenuModel instance to create menus programmatically. For the menuitem and submenu components, use explicit ids, and avoid long processing in the getter method for this property, as it will be called multiple times, in every lifecycle. If using MyFaces, see wiki page for some known issues.
mynotruejava.lang.StringWhen position is dynamic, this attribute specifies the corner of the menu to align with the trigger element. The format is "<left|right> <top|bottom>" (examples: "left top", "right bottom"). Default = 'left top'.
positionnotruejava.lang.StringSets the way the menu is placed on the page. When "static", the menu is displayed in the normal flow. When set to "dynamic", the menu is only displayed near the trigger component when the triggerEvent occurs. For the latter case, it is required to specify a trigger component. Default = 'static'.
renderednotruebooleanReturn true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
stylenotruejava.lang.StringStyle of the main container element.
styleClassnotruejava.lang.StringStyle class of the main container element.
tierednotruebooleanSets the tiered mode, when set to true menu will be rendered in different tiers.
triggernotruejava.lang.StringServer-side id of the component that will trigger the dynamic menu when the triggerEvent occurs. Used when position is dynamic. It is also possible to specify a client-side id of a plain HTML element on the page.
triggerEventnotruejava.lang.StringEvent that will trigger the menu to show, when position is dynamic. The possible values are "click", "mouseenter", "dblclick", and "rtclick". Default = 'click'.
typenotruejava.lang.StringType of menu, valid values are "plain", "tiered" and "sliding". Default = 'plain'.
widgetVarnotruejava.lang.StringJavascript variable name of the wrapped widget.
zindexnotrueintzindex property to control overlapping with other elements. Default = '1'.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.