cancel
Showing results for 
Search instead for 
Did you mean: 

Automaticly close WebDynpto browser

Former Member
0 Kudos

hi

I have a WebDynoro application antd i want it to be automaticly closed a sec after the user get a success message. Is there a way to do that?

thanks

Elad

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi

Yes. It is possible.

For Closing browser, Use Exit Plug and pass CLOSE_WINDOW parameter value 'X'.

for Closing after some time, Create TimedTrigger UI and set the delay time and bind the enable property to an attribute of type wdy_boolean. Then enable it in the method after the success message.

In the action of timed trigger, write the code for closing browser as specified above.

Hope this helps u.,

Regards,

Kiran

Former Member
0 Kudos

Kiran thank u very much.

Do u know where can i see a demo or an example for that?

Thanks

Elad

Former Member
0 Kudos

Hi elad,

Please read this document.

http://scn.sap.com/docs/DOC-27314

Hope it helps! Cheers!

former_member184578
Active Contributor
0 Kudos

Hi,

Check this document for using Exit Plug: http://scn.sap.com/docs/DOC-27314

Now in your method in which you are displaying message, enable the Timed Trigger.

In OnAction of timedTrigger write the code for fire_Exit_Plug by referring the above doc.

Hope this helps u.,

Regards,

Kiran

Answers (0)