OpenWGA 7.4 - WebTML reference

WebTML tags » option

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


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


>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


A TMLScript expression