OpenWGA 5.4 - WebTML reference

WebTML tags » [All action calling tags]

<tml:[All action calling tags] portletmode ="portlet mode">


Defines the portlet mode to set for the current portlet after the action is executed successfully.


The portlet mode is set automatically to the specified value when the action was executed successfully.

The portlet mode will be left unchanged when an uncaught exception occurs on the action or it explicitly returns the boolean value false.


Portlet mode like 'view' or 'edit'


This attribute allows the execution of default actions and changing the portlet mode at once.
<tml:button clickaction="$store" portletmode="view"/>

After the action '$store' is executed successfully the portlet mode is set to 'view'. If an error occur during '$store' the portlet mode will remain unchanged.