Use the Portlet Customizer builder to create a configure or edit model for an existing portlet.
The Configure mode in a portal server generally refers to a mode in which the Portal Administrator can apply settings to a portlet. These settings apply to all users of the portlet. The Edit mode generally refers to a mode in which individual end users can set personal preferences for how a portal will behave for them. Each portal server provides a user interface (UI) for these modes. The Portlet Customizer builder makes it possible to replace the UI for these modes with a IBM® WebSphere® Portlet Factory model that performs similar functions.
When the user clicks on the configuration or edit icon in your portlet 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 a Portlet 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 configuration or edit model by removing the entries from the list displayed in the Portlet 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 Portlet 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.
The portlet and customizer models reference each other
The Configure or Edit Model input value in the Portlet Adapter builder must be the name of the model that contains the Portlet Customizer builder call. In turn, the Portlet input value for the Portlet Customizer builder call must be the name of the portlet model.Localizing button labels
The text of the buttons generated by the Portlet Customizer builder can be changed by using a Localized Resource builder. In the Localized Resource builder, refer to the keys OK, Update, Cancel and Clear_Portlet_Data when swapping in translated strings.
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.)
Portlet Customizer builder inputs
This topic describes the inputs for the Portlet Customizer builder.
Parent topic: Builder help
About using the builder call editor
Configuring the Portlet Adapter builder call