cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat an action over time (Refresh)

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

sanyev
Active Participant
0 Kudos

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

Former Member
0 Kudos

Hello Sanyev,

Thank you very much for the solution. This is what we wanted.

Best Regards,

Jennifer Lohan.

Answers (0)