Home

 

Portlet modes

Portlet modes allow the portlet to display a different face depending on how it is being used. This allows different content to be displayed within the same portlet, depending on its mode. Modes are most commonly used to allow users and administrators to configure portlets or to offer help to the users. There are four modes in the IBM Portlet API:

View-Initial face of the portlet when created. The portlet normally functions in this mode.

Edit-This mode allows the user to configure the portlet for their personal use (for example, specifying a city for a localized weather forecast).

Help-If the portlet supports the help mode, this mode displays a help page to the user.

Configure-If provided, this mode displays a face that allows the portal administrator to configure the portlet for a group of users or a single user.
ibm.com/redbooks