Skip to Content
avatar image
Former Member

How To Stop an Application which is running

How to stop an application which is running for example it has to to be stopped

after 10 sec ,can we do this in in webdynpro.If any one know the response please reply

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 05, 2007 at 09:01 AM

    Hi Madhavi,

    In NWDS,

    Goto your application>Application Properties Tab>New>Select Predefined>Browse>Select expiration time>OK-->value=10(in seconds) > Finish>Save

    Regards,

    Murtuza

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2007 at 09:06 AM

    Hi,

    You can also try this:

    1. Add a TimedTrigger UI element to the view. In the "<i>Properties</i>" view set the "<i>delay</i>" property to the number of seconds you want.

    2. Create a new action "<i>CloseApp</i>" and bind it to the "<i>onAction</i>" property of the TimedTrigger UI element.

    3. This will generate the onActionCloseApp event handler method for you. Write this code there:

    WDClientUser.forceLogoffClientUser("");

    Regards,

    Satyajit.

    Add comment
    10|10000 characters needed characters exceeded