![]() ![]() ![]() The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void. actionListener: MethodBinding representing an action listener method that will be notified when this component is activated by the user. ![]() The expression must evaluate to either a String or a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application. action: MethodBinding representing the application action to invoke when this component is activated by the user.The following is a listing of some of the main attributes used for the menuItem component: The menuItem component defines the menu items contained by a menuBar. There are three other components that can be used to define the content in the menuBar component. value: The current value of this component.This will be discusses in greater detail later in the tutorial. styleClass: Space-separated list of CSS style class(es) to be applied when this element is rendered.style: CSS style(s) to be applied when this component is rendered.If not, nothing is rendered and the body of this tag will be skipped. renderedOnUserRole: If user is in given role, this component will be rendered normally.rendered: Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.Horizontal (default) and Vertical menu orientations. orientation: Defines whether the sub-menus of the top-level menu items appear beside or below the top-level menu items.noIcons: If true, this component will not render icons and icon spacers in menuItems.immediate: 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.Default directory is /xmlhttp/css/xp/css-images/ which is include in the icefaces.jar. imageDir: Set directory for location of the tree images.This value must be unique within the closest parent component that is a naming container. id: The component identifier for this component.The following is a listing of the attributes that the menuBar component uses: Its contents can be defined statically or dynamically in a backing bean. The menuBar component can be situated horizontally or vertically. The menuBar component is used as a robust menu system. The rest of this tutorial will discuss the following topics: ![]()
0 Comments
Leave a Reply. |