on 10-11-2006 7:00 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
doesnt 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, doesnt 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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.