Portlet Factory, Version 6.1.2
Widget Customizer builder
Use the Widget Customizer builder to create a configure model for an existing widget.
The mashup developer can customize the widget on IBM® Lotus® Mashups.
When the user clicks on the options icon in the widget title bar, this model runs and allows the user to determine what WebSphere Portlet Factory profile to apply or specify values for specific profile values.
You can use the Widget Customizer builder to provide the following functionality over the default configuration mode behavior:
- Limit profile entries displayed
- You can prevent profile entries from being exposed in the customize model by removing the entries from the list displayed in the Widget Customizer builder call. Right-click on the profile entry and choose Delete Row from the popup menu.
- Specify UI controls for setting profile values
- The Widget Customizer builder utilizes the Data Page builder. As a result, you can use Data Field Modifier builder calls to specify the controls to use for different profile entries as well as the behavior of those controls.
Quick tips
- The Widget Adapter and Widget Customizer models reference each other
- The "Edit Settings" Model input value in the Widget Adapter builder must be the name of the model that contains the Widget Customizer builder call. In turn, the Widget input value for the Widget Customizer builder call must be the name of the widget model.
- Localizing button labels
- The text of the buttons generated by the Widget Customizer builder can be changed by using a Localized Resource builder. In the Localized Resource builder, refer to the keys OK, Update, and Cancel when swapping in translated strings.
Note: Tab label text can also be localized in a similar way, with keys equal to the tab labels with spaces replaced with underscores (for example, Tab One results in a key of Tab_One.)
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.
- Widget Customizer builder inputs
This topic describes the inputs for the Widget Customizer builder.
- Configuring the Widget Adapter builder call
You can expose profiled inputs in the model by setting the behavior for the profile set that contains them in the model's Widget Adapter builder call.
Library | Support |