OpenWGA 7.6 - WebTML reference

WebTML default actions

action="$setpsessionvar"

Description: Sets one or more WebTML portlet session variables.

This action has two, modes differing in the parameters that are used:

If two parameters are used then those are used to set a single variable. As WebTML action parameters can only be strings this can only used to set string variables.

If no parameters are given but a WebTML form is submitted then all fields of the WebTML form will be stored as variables, field name used as variable names, field value as variable values.

Parameters: param1: Name of the variable

param2: String value of the variable