--
PedroRio - 24 Sep 2010
The
AjaxText component is used to update text in a viewer in regular intervals. The component can be used, for example, to display a clock updating each second in a viewer, or to display the CPU usage of the JVM machine.
XML Definition
<xvw:ajaxText></xvw:ajaxText>
Properties
Property |
Description |
Type |
Possible Values |
Default Value |
Usage |
Example |
text |
The text to display in the viewer |
EL/String |
Any String (there's no point in using a literal value for the text property, as it will never update) |
- |
Required |
|
updateTime |
The time (in miliseconds) to request an update to the text |
EL / String |
Any positive value (miliseconds) |
- |
Required |
updateTime='1000' (1 second ) |
To