cancel
Showing results for 
Search instead for 
Did you mean: 

Stop execution of a timedTrigger IUElement

Former Member
0 Kudos

Hi, I am using a timedTrigger IUElement and I need stop it when I execute an action. ¿Can you help me?.

Regards!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Armin, your answer solved my problem.