Setvar Component Index

wml:Timer
org.apache.tapestry.wml.Timer
Non Visual Component
 
Description
The wml:Timer element declares a card timer, which provides a method for invoking a task automatically after some period of user inactivity. Any task or user action that activates the card starts the timer, and executing any task element stops it. You can only associate one task for each timer, and you can only define one timer for each card.
See Also
Parameters
Name Type Direction Required Default Description
name String in no   The name attribute specifies the name of the variable to be set with the value of the timer. The name variable's value is used to set the timeout period upon timer initialisation. The variable named by the name attribute will be set with the current timer value when the card is exited or when the timer expires. For example, if the timer expires, the name variable is set to a value of "0".
value String custom no 0 The value attribute indicates the default value of the variable named in the name attribute. When the timer is initialised and the variable named in the name attribute is not set, the name variable is assigned the value specified in the value attribute. If the name variable already contains a value, the value attribute is ignored. If the name attribute is not specified, the timeout is always initialised to the value specified in the value attribute.

Body: removed
Informal parameters: allowed
Reserved parameters: none

Examples

Please see the documentation for the wml:Image component.


Setvar Component Index