Portlet Factory, Version 6.1.2
Contextual Menu builder
The Contextual Menu builder adds a pop-up menu to one or more pages in your model. The builder is included in the Page Controls builder category. When you add a contextual menu builder to a page, a menu and its menu items pop up when users click a specific link, button, or icon. You can also add a menu to a chart or other page element by using the Hidden (manually invoked) option. Specify the menu content when you create the builder or use indirect references to retrieve the content programmatically.
When users click a menu item, you can define an action that:
- Submits the form
- Executes a link to another page in the model or to an external Web page
- Runs client-side JavaScript
The menu's appearance is governed by a cascading style sheet, which allows you to change the border, text color, font size, and so on.
Parent topic: Builder help
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Locating control builder calls on pages
Each page location technique results in the generation of a Page Location string that determines on what pages, and where on those pages, the control builder calls are added.
- Contextual Menu builder inputs
This topic describes the inputs for the Contextual Menu builder.
- Objects the Contextual Menu builder creates
This topic describes the objects created by the Contextual Menu builder in the WebApp.
- Passing arguments to actions
The Input Mappings group allows you to specify argument names and values to pass to an action.
- Overview: creating pages
Pages in IBM® WebSphere Portlet Factory models can be obtained from outside the model or created as you work in the model.
- Overview: profiling
Creating applications with builders offers benefits over traditional development.
- Page builder
Use the Page builder to create a page that contains HTML or JSP code.
- Hiding a menu item by using profiling
Follow these steps to hide a menu item by using profiling.
- Adding a context menu to a web chart
You can create a web chart whose data changes when users click on different areas of the chart.
- Adding a static menu list with a button control
Follow these steps to add a static menu list with a button control.
- Creating a menu that generates content through an indirect reference
Menu items can be generated through an indirect reference, such as a method, variable, or data service, as long as the reference contains schema-typed menu data.
Library | Support |