Sys.Eval() Example with custom Translation Scope and fallback scope

In this example, a translation is executed in the scope of the calling page in which a Smartlet is executed. If the translation is not in scope there, scope is reverted to the Smartlet itself in order to find a local translation in the Smartlet folder.

Smartsite SXML CopyCode image Copy Code
{sys.eval(pub_formatresults(), smartlet.page(), smartlet.number())}