Portlet Factory, Version 6.1.2
Profiling a portlet
You can profile a portlet like any other IBM® WebSphere Portlet Factory model.
You can use profiles to allow for configure (optional in JSR 168 portals) or edit mode functionality. You can use profiles to vary your portlet behavior based on the group to which the user belongs and whether the model is being executed as a portlet or as a standalone web application.
You can profile a portlet according to IBM WebSphere Application Server group information and the execution mode of the model. In WebSphere Application Server portlets, you can also use profiles to implement configure and edit functionality. (Procedures for JSR 168 portlets are similar. Refer to your portal documentation for additional information.)
Parent topic: Development of portlets Parent topic: Overview: profiling
- Configuring the Portlet 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 Portlet Adapter builder call.
- Profiling based on execution-mode with the WPS Execution Mode handler
To select a profile based on run mode in a portlet, use the WPS Execution Mode Handler.
- Method builder
The Method builder adds a Java method to the WebApp.
- About creating and opening models
A wizard is available to help you create a variety of models.
- Creating conditional code based on execution mode
If your model will run as a portlet as well as a widget or standalone application, you may need to implement conditional code based on whether the model runs in the context of the IBM WebSphere Portal, as a standalone application, or as an IBM WebSphere Portlet Factory widget application.
- Profiling based on the group
You can alter the way your portlet works according to the group to which the user belongs by profiling the underlying IBM WebSphere Portlet Factory model and associating the profile set with the WPS Group Segment Handler.
- Profiling based on a user's locale
You can use the current Language Locale in the Portal to drive the localization of a portlet.
Library | Support |