on 01-18-2007 4:23 PM
Hi, I am using a timedTrigger IUElement and I need stop it when I execute an action. ¿Can you help me?.
Regards!!
Bind the "delay" property to a context attribute of type "integer" and set the attribute value to 0 from the event handler.
See Javadoc:
/**
* Returns the value of the <code>delay</code> property.
* <p>
* The initial value is <code>0</code>.
* </p>
*
* The delay in seconds before the specified action is fired; must not be
* negative. A delay of 0 means that the timer is off and no action is
* triggered. The delay counts from the moment the response is received by the
* client. Thus the timer is restarted on every roundtrip to the server, e.g.
* due to a user interaction.
* Very short delays (e.g. below 5 seconds) must be handled with extreme care
* and might be deprecated in the future.
*
* @return the current value of the <code>delay</code> property
* @see #setDelay(int)
*/
public int getDelay();
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Armin, your answer solved my problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.