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
| bodyTagEvent |
Text |
| |
| The bodyTagEvent attribute specifies the HTML body tag event that will execute the JavaScript associated with the parent component of this tag. |
| expressionValue |
Text |
| Required |
| The expressionValue attribute accepts a JavaScript string that evaluates to the value passed to the component when this valueChangeListener is invoked. |
| for |
Text |
| |
| The for attribute is the id of the component this component extends or is part of. This attribute is required by some tags. |
| property |
Text |
| |
| The property attribute expects a value-binding expression associating a backing bean property with this component. |
|