| |||||||
FRAMES NO FRAMES |
A context sensitive popup menu providing popup nested child menus
By default the menuPopup doesn't cause any submit when displayed by the right click, that is why its contents can be static only but it could be dynamic by just registering the displayListener on it. The displayEvent gives the target component as well as the clientId of the target component in form of contextValue, which then can be use to produce dynamic contents.
Tag Information | |
Tag Class | com.icesoft.faces.component.menupopup.MenuPopupTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | The value binding expression linking this component to a property in a backing bean |
blockMenuOnInput | false | false | java.lang.String | Setting this property to true, blocks menuPopup on input elements and shows browser default instead. Default value is false. |
displayListener | false | false | java.lang.String | The displayListener is a MethodBinding/MethodExpression that specifies a method on a backing bean that will accept a com.icesoft.faces.component.DisplayEvent. |
displayOnClick | false | false | java.lang.String | By default the sub menus are being displayed on the hover event. which can be replaced with the click event by setting this attribute to true. |
hideOn | false | false | java.lang.String | The following are the valid values for the hideOn attribute:
mouseout :the popup menu will be hidden when the user moves the mouse out of any part of the menu.
mousedown :the popup menu will be hidden when the user clicks any area outside of the menu. |
id | false | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
imageDir | false | false | java.lang.String | Set directory for location of the tree images. Default directory is /xmlhttp/css/xp/css-images/ which is include in the icefaces.jar. |
immediate | false | false | java.lang.String | Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
keyboardNavigationEnabled | false | false | java.lang.String | Enables keyboard support, default value is true. |
noIcons | false | false | java.lang.String | If true, this component will not rendered icons and icon spacers in menuItems. The default is false. By default icons are rendered. |
orientation | false | false | java.lang.String | Defines the orientation of the top-level menu items. For menuPopup, the only valid orientation is vertical, where each subsequent top-level menu item is below the previous. Sub menus appear to the side. |
rendered | false | false | java.lang.String | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. |
renderedOnUserRole | false | false | java.lang.String | If user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. |
scrollableDivMode | false | false | java.lang.String | By default (false) the sub menus positions are adjusted properly when in scrollable browser window. When set to true, sub menus positions are adjusetd in scrollable divs but not in scrollable browser window. |
style | false | false | java.lang.String | CSS style(s) to be applied when this component is rendered. |
styleClass | false | false | java.lang.String | Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. The base name for all style classes. Default value is iceMnuPop if enabled
|
value | false | false | java.lang.String | The current value of this component. |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |