Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Repeat an action over time (Refresh)

Hello all,

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

Thanks.

Best Regards,

Jennifer Lohan.

Former Member
Former Member replied

Hi Jennifer,

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.

Regards,

Sanyev

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question