This control fires a server or client event after a preset time. The time is set in 1/1000 seconds. The timer control has no visible effect. The timer control can be for client side eventing. See the EventValidationComponent description for more details.
· clientEvent
Defines the JavaScript fragment that is executed when the time out event occurs. If both events ('serverEventName' and 'clientEvent') are specified, the 'clientEvent' event handling method is activated and the serverEventName is omitted.
· enabled - inherited from EventValidationComponent.
A boolean value that enables (=true) or disables (=false) the timer control. A disabled timer sends no event when clicked.
· id
Identification name of the timer component.
· jsObjectNeeded - inherited from Component.
A boolean value that defines if a JavaScript object has to be generated for the timer component.
· serverEventName
A boolean value that activates (=TRUE) or deactivates (=FALSE) the "Insert Image/Link" function.
· timeOut
Time span after which the event is fired. The time value is set in milli seconds.
Attributes |
M |
Values |
Usage |
enabled* |
|
FALSE |
Taglib Classlib |
id |
* |
String (cs) |
Taglib Classlib |
jsObjectNeeded** |
|
FALSE
(d) |
Taglib Classlib |
timeout |
|
Value (0) |
Taglib Classlib |
* Method is inherited from the EventValidationComponent component.
** Method is inherited from the Component component.
Events |
M |
Values |
Usage |
clientEvent |
|
with event type |
Taglib Classlib |
clientEvent |
|
String (cs) |
Taglib Classlib |
serverEventName |
|
String (cs) |
Taglib Classlib |
using the taglib
<hbj:timer id="timeOut" |
using the classlib
Form form = (Form)this.getForm(); |