Attributes |
Name | Type | Required | Default Value | Description |
key | string | false | null | The key used to store the variable in memory. This attribute is required unless this tag is being used inside a collection tag. If this attribute is present and this tag is being used inside a collection tag, this attribute will take precedence and the data will be stored using the key specified in the attribute. |
value | string | true | null | The variable value. |
scope | string | false | portlet request | The scope used to store the variable. See the Logic tag library description for details about valid scope arguments. |
encode | int | false | 0 | Specify how to encode the URL title or not. 0: No encoding. Not encoding user entered string is a potential security risk as users could insert javascript that gets executed on the page. 1: HTML encoding for titles displayed directly on the page. 2: URL encoding for titles used in URLs. 3: Javascript encoding for titles used in Javascript. |