10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:jsValueSet
t:jsValueSet |
|
The t:jsValueSet tag enables you to set a JavaScript variable value at request time from a backing bean property. The JavaScript variable can then be used by a t:jsValueChangeListener tag, for example.
Example:
<t:jsValueSet></t:jsValueSet>
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| name |
String |
| Required |
| The name attribute defines the name of the JavaScript variable to be set. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
| value |
String |
| Required |
| The value attribute defines the value assigned to the JavaScript variable. |
|