Friday, July 6, 2012

Can you list lifecycle phases of a portlet?

Portlets have four lifecycle phases (action, render, resource, and event phases)

These four phases identified by PortletRequest interface constants:
ACTION_PHASE,
RENDER_PHASE,
RESOURCE_PHASE, and
EVENT_PHASE.

The values of these constants are the same as their names. The value of the LIFECYCLE_PHASE constant is the name of the request attribute that contains the current request-processing phase of the portlet.

1 comment: