ViperMethod

(Not Related to a Specific Release) - ...

Viper methods provide a lightweight method of invoking Smartsite business logic.

Vipermethods use the function call syntax: funcname(param1, param2, param3, ...).

Since vipermethod parameters are in fact expressions, vipermethods can be nested within other vipermethods, allowing for powerful and efficient constructs.

Example:

Smartsite SXML CopyCode image Copy Code
string.toupper(string.trim('  hello world  '))