getPortletMode()

Returns the current mode of the portlet.

Syntax

portalLib.getPortletMode() 
returns (value PortletModeKind)
value
A value of the enumeration PortletModeKind that indicates the current mode of the portlet.

Example

mode PortletModeKind;
mode = portalLib.getPortletMode();

Feedback