Attributes |
Name | Required | Request-time | Type | Description |
at | no | true | java.lang.String | When 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'. |
backLabel | no | true | java.lang.String | Label for the 'back' link (only applies to sliding menus). Default = 'Back'. |
binding | no | true | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
effect | no | true | java.lang.String | Sets 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'. |
effectDuration | no | true | int | Sets the effect duration in milliseconds. Default = '400'. |
forceMenuUpdate | no | true | java.lang.Boolean | Set 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'. |
hideDelay | no | true | int | determines how many millisenconds to delay before hiding the submenu in a fly-out menu Default = '400'. |
id | no | true | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
maxHeight | no | true | int | Maximum height (in pixels) for the menu (only applies to sliding menus). Default = '200'. |
model | no | true | org.icefaces.ace.model.MenuModel | org.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. |
my | no | true | java.lang.String | When 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'. |
position | no | true | java.lang.String | Sets 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'. |
rendered | no | true | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
showDelay | no | true | int | determines how many milliseconds to delay before showing the submenu in a fly-out menu Default = '400'. |
style | no | true | java.lang.String | Style of the main container element. |
styleClass | no | true | java.lang.String | Style class of the main container element. |
tiered | no | true | boolean | Sets the tiered mode, when set to true menu will be rendered in different tiers. |
trigger | no | true | java.lang.String | Server-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. |
triggerEvent | no | true | java.lang.String | Event that will trigger the menu to show, when position is dynamic. The possible values are "click", "mouseenter", "dblclick", and "rtclick". Default = 'click'. |
type | no | true | java.lang.String | Type of menu, valid values are "plain", "tiered" and "sliding". Default = 'plain'. |
zindex | no | true | int | zindex property to control overlapping with other elements. Default = '1'. |