TIMER DEFINITIONS
Timer definitions are good for any action that is supposed to happen after a specific period of time.
All attributes except the UID are optional, but we strongly recommend that you specify your own settings for each timer you define, as the
default values might not be the best fit for your application.
Please note also that Prosciutto default cache memory is up to
8 different timers at a time. This can be modified by either using the config tag in model.xml, or by placing the values you need in the za_UI_api.initialize()
call in the class of your own that extends the za_UI_api class.
<timer uid="71001">
<active>yes</active> //set active since creation (default to "yes")
<delay>3000</delay> //delay for timer. How long will wait to start. (defaults to "3000" milliseconds)
<period>3000</period> //period of timer. How long will wait to repeat. (defaults to "3000" milliseconds)
<freq>once</freq> //how frequently should this timer be restarted. (defaults to "once")
<action act_param="12000">goto</action> //action. what to do when timer expires. (defaults to "null" action)
</timer>
For a list of possible actions to define by the action tag please check the form description.
Back to UI objects listing