Skip to Content
author's profile photo Former Member
Former Member

Time Trigger

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Mar 14, 2014 at 05:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 14, 2014 at 06:11 AM

    Hi,

    Yes. Check this document for reference: Automatically Close Browser Window of Web Dynpro Application If user does some action, in onAction disable/reset the Timed Trigger.

    Hope this helps u,

    Regards,

    Kiran

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2014 at 06:28 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.