Repeat an action over time (Refresh)
I need to provide a refresh functionality without using a button, so that the method is executed after a period of time, for example every one minute.
Is there any control to do? I have seen that the control TimedTrigger has delay, but not run again after a set time.
I am using Netweaver Developer Studio 7.0.14
You still can use TimedTrigger UI element. The timedtrigger gets activated once the delay reaches zero. So the timedtrigger will call the associated action after the delay is over. What you need to do is bind the delay property to an integer field in the context. and in the action handler reset the timer to the original value. Thus it becomes a periodic timer. See the [API.|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDTimedTrigger.html]
You should understand that the TimedTrigger will interupt the user operation when executed.