Gets a named value from the current Smartlet state or from the original arguments.

Syntax

Smartsite SXML CopyCode image Copy Code
any smartlet.get(string name)
any smartlet.get(string name, boolean unsafeValue)

Parameters

Name Data Type Description
name String The value name.
unsafeValue Boolean If set totruethe unsafe value is returned to the caller.
This is potentially dangerous because of code injection attacks.

Return Value

Data Type Description
Any Object
SXML