10. Tomahawk Tag Reference
Contents > Tomahawk Tag Reference > t:jsValueChangeListener
t:jsValueChangeListener |
|
The t:jsValueChangeListener tag is a client-side value change listener tag. It enables you to update the properties of other UI components in response to JavaScript value change events in the user interface. For example, you could set the value of an h:inputText component when the user types some text into another h:inputText component on your page.
Example:
<t:jsValueChangeListener></t:jsValueChangeListener>
|
Tag Attributes
| binding |
String |
| |
| The value-binding expression linking this component tag to a backing bean property. |
| bodyTagEvent |
String |
| |
| The bodyTagEvent attribute specifies the HTML body tag event that will execute the JavaScript associated with the parent component of this tag. |
| expressionValue |
String |
| Required |
| The expressionValue attribute accepts a JavaScript string that evaluates to the value passed to the component when this valueChangeListener is invoked. |
| for |
String |
| |
| The for attribute is the id of the component this component extends or is part of. This attribute is required by some tags. |
| id |
String |
| |
| The unique identifier value for this component. The value must be unique within the closest naming container. |
| property |
String |
| |
| The property attribute expects a value-binding expression associating a backing bean property with this component. |
| rendered |
String |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
|