cancel
Showing results for 
Search instead for 
Did you mean: 

Time Trigger

Former Member
0 Kudos

Hi

i want to add a time trigger to my WebDynpro that when the application is executed and the user didnt do any action for 2 min, the application window is closed, but if the user did an action on screen the time trigger will be re-scheduled and set again for 2 min .

Is it possiable?

Thanks Ami

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member5006
Participant
0 Kudos

Hi,

    for  your requirement follow the steps

  1. create one atribute in context node. that is integer, .(In view) . then bind it with timed trigger delay  property with this node
  2. for every action WDDOMODIFYVIEW(  ) method will trigger . Inside of it set to 120 value for that attribute.(because timed trigger screen element will work with seconds)
  3. created one action for timed trigger .. then after 120 seconds it will enter into  this timed trigger created action and will write the code it to close the browser.

   fro closing window .. u find document as       Kiran Kumar Valluru said .. i.e. 

Automatically Close Browser Window of Web Dynpro Application

former_member184578
Active Contributor
0 Kudos

Hi,

Yes. Check this document for reference: If user does some action, in onAction disable/reset the Timed Trigger.

Hope this helps u,

Regards,

Kiran

m_aravindan
Active Participant
0 Kudos

Hi Elad,

Create an attribute and bind the attribute to the delay property of the timed triggered Ui element.

By default set the value for the attribute as 2. As per your requirement , when user does some action,

modify method will trigger. So in modify method set the attribute vale again to 2 mins.

Hope it helps

Thanks

Aravindan