First page Back Continue Last page Graphics

Creating Pop-Up Menus


Creating Pop-Up Menus

You can also have the menu launch in a pop-up that displays vertically. To create a pop-up menu, perform the following steps:

1. Drag the ToolbarButton component to a toolbar in the JSF page and set the text attribute to display the name of the button. Use the icon attribute to set the image to use on the button.

2. In the Structure window, expand the ToolbarButton facets and drag a Menu component to the pop-up facet.

3. Drag to the Menu component as many Menu Item components as needed to define the items in the vertical menu. Set properties on the Menu Items as needed.