OpenWGA 7.10 - WebTML reference
WebTML tags » option<tml:option expression ="tmlscript-expression">
Purpose:
The result of the specified TML script expression will be used as option value.
Description:
Within the body of <tml:option> it is only possible to define text values for options. The attribute "expression" also allows to specify other values than strings for options. This is usefull if the option for example contains a date object. The option can later also be read by using option('<name>'). These method is not restricted to text values.
Value(s):
TMLScript-Ausdruck
Examples:
Stores the lastmodified date of the current document in an option named 'lastmod':
<tml:option name="lastmod" expression="LASTMODIFIED"/>