8.3. JSR 168 portlet modes

Portlets will perform different tasks and create different output depending on the function they are currently performing. Modes will allow the portlets to provide different function for the task that is required. JSR 168 supports three modes, View, Edit, and Help. JSR 168 also supports custom modes. IBM WebSphere Portal at the time of this writing only supports the custom mode Configuration. Portlet can change the mode programmatically in the processAction method. You can also specify the mode when creating an action or render link. See “interface javax.portlet.PortletURL” on page 261.

View

The View mode is used for displaying content reflecting the current state of the portlet. View mode may included multiple screens ...

Get IBM Rational Application Developer V6 Portlet Application Development and Portal Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.