OpenWGA 7.10 - WebTML reference

WebTML tags » option

<tml:option defaultexpression ="tmlscript-expression">

Purpose:

Calculate a default value by TMLScript that is to be returned when the option does not exist

Description:

>Use this in mode "get" when you want the tag to return a default value if the option that is retrieved does not exist.  The value is calculated by a specifie dTMLScript expression that is calculated against the current document context.

If you just want to use a string as default value you might find attribute default more handy

Value(s):

A TMLScript expression