cancel
Showing results for 
Search instead for 
Did you mean: 

Catching browser event

Former Member
0 Kudos

Hi guys

Does anybody knows how to catch a browser event??

I have a webdynpro application written with Java. I just wonder on how to catch browser event issued from Internet Explorer (when user press BACK, REFRESH, CLOSE broser) in my Web Dynpro application.

Any help will be appreciated

Thanks a lot guys

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_szcs
Active Contributor
0 Kudos

Hi Ralph,

This is not supported. The main reason is that Web Dynpro is supposed to be platform independent. Other clients (not being web browsers) may not offer these capabilities.

Best regards,

Thomas

Former Member
0 Kudos

Hi Thomas,

Hi Ralph,

I appreciate the idea of WD is platform independence.

However the argument that WD can not react to an event on

a platform without interferring with platform independence

doesn’t make sense to me.

Since each platform has its own rendering engine.. WD client , browser,

Muse whatever... why cant events in the Framework be defined that

are only triggered by 1 or 2 of the clients.

We are happy to builld client specific rendering, but not client

specific events. Why not... rendering is outbound, events inbound.

The fact that other clients cant trigger the event via the specific

rendering tool, doesn’t mean it isnt valid to cater for it.

A platform independent WD is still possible. We simply have an event

that a developer can cater for if it is seen as beneficial.

WHAT THE DEVELOPER SHOULD NOT DO, is code in a way that

this event is seen as required or

mandatory to use in the WDC. This would be poor WD code design.

Just as a developer can completely abuse MVC and stick selects in view controllers he could design an app around an EVENT that cant be triggered

in all circumstances. But why is it wrong to have say a BACK button on the

screen and also have the Browser back mapped to the feature ?

No lost functionality just extra support on the most common platform.

That is interface events at their best.

The ability to have code behind major external events, is still a very

legitimate requirement in my opinion.

Please continue the debate.

Cheers

Phil