How to Stop the timer in the TimedTrigger UI element when an event occurs
I have a webdynpro View where i have many UI elements(which supports an event) along with TimedTrigger UI element.
Now my requirement , i want to check at single line if any event happens in the View then i want to stop the timer in the TimedTrigger UI element.
can you please provide any peace of code related to this??
Alka Panday replied
To prevent events being triggered by UI element TimedTrigger, proceed as follows:
1. Disable the action that is bound to the UI elementu2019s onAction property.
Can be done as:
2. Set the value of the delay to 0 seconds
As suggested in previous post to this thread.
3. Disable UI element TimedTrigger
Create a boolean type of context attribute and bind it to the "enabled" property of the Timed Trigger. Set its value to false to disable the timed trigger.