Portlet Factory, Version 6.1.2


 

Using a different model for customization

If changing the look and feel of the Customize page does not provide you with the changes you want to implement, you can create a WebSphere Portlet Factory model that implements the intended customization.

An example of implementing your own customized model is to provide alternate controls for setting input values, such as a file chooser for a user to set a background image or a List builder call that simplifies the multi-selection of available options. These user interface (UI) controls are not included as controls which can edit a profile entry, so you need to override the default behavior.

You can create a model that implements the customization for your widget by using the Widget Customizer builder. The Widget Adapter builder call in the widget model references the model with the Widget Customizer in it as its customization model. In turn, the Widget Customizer builder call specifies the widget model as the widget for which it implements the customization.

Before you create a customized model for your widget, confirm that your widget model has a Widget Adapter builder call and that it has profiled builder call inputs.

Parent topic: Overriding the default Customize display


Library | Support |