Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Feb 05, 2009 at 07:48 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Sanyev,

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

      Best Regards,

      Jennifer Lohan.