cancel
Showing results for 
Search instead for 
Did you mean: 

Browser closing

Former Member
0 Kudos

Hi,

is it possible to display a Confirmation Dialog when the browser will be closed by a WebDynpro user?

My current NetWeaver Version is CE 7.1 SP06.

Locke

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi ,

it is not possible to get a confirmation dialog when the browser will be closed!

Locke

snehal_kendre
Active Contributor
0 Kudos

HI,

you can do that like.

1.on closing of browser, you need to open an another browser which will contain your pop up message. you can resize that browser or overall window size.

but as you know WD is an web application, so it always needs a browser to execute.

Former Member
0 Kudos

hi!

please check this thread.

/message/232911#232911 [original link is broken]

thanks

vishal

Former Member
0 Kudos

Hi Vishal ,

how can I execute the Javascript inside of a WebDynpro App ??

Locke

Former Member
0 Kudos

hi!

please check this blog to write java script.

thanks

vishal

Former Member
0 Kudos

Hi Vishal,

again : I need the event of the a Browser, when the user closes the Browser Window.

The event (of the Browser ) must be catched by a WebDynpro Component ( View / Component Controller)!

I don't need a third party Javascript library!

Locke

Former Member
0 Kudos

hi!

create a action and event handler method in

component controller(cc).Call the method of the component controller from the method(onactionclick) in the external window and pass the parameter.

wdThis.wdGetcomponentController).eventmethodinccparameter);

Create a event handler method in main view and set the event source and subscribed event(cc method name) in

method tab.

Fire this method from cc

wdThis.wdFireEventnameinmainview(parameter);

And finally handle the parameter in a definedmethod of the view(that called browser)

thanks

vishal

Former Member
0 Kudos

Hi ,

the Browser is the Internet Explorer and not a WebDynpro Window or WebDynpro View !!!

I don't wanna use two WebDynpro Windows that communicate with each other. I need the communication between the Internet Explorer and a WebDynpro Component!

Locke

Former Member
0 Kudos

hi!

chk this link

/message/123736#123736 [original link is broken]

Former Member
0 Kudos

hi!

also chk this link

former_member192434
Active Contributor
0 Kudos

Hi Hapizorr,

I think we don't any functionality in WD, But this can be achieved by JavaScript.

Thanks

Anup

Former Member
0 Kudos

HI,

I don't think this is achievable in WD.

Regards,

Murtuza