on 12-05-2009 4:12 PM
Hi
Can anyone tell me how mouse click event on a webdynpro view be captured? The requirement is to close a popup window by clicking anywhere in the view.
Thanks
Venkata
Hi
Thanks to all of you for your suggestions. We have already changed our requirement and added a button in pop-up to close.
Thanks
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Change your requirement to "The window can be closed by pressing a button" (or in releases >= 7.11 by a close-icon).
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've to agree with Daniel - that's not possible. And its quite a peculiar requirement.
I was thinking of having an IFrame have the JavaScript there - perhaps the only way you can do an anywhere click BUT at least to the confined area of the element. That just made the entire view useless. 😛
Make it simple.
Create a button.
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm afraid this is not possible. You will need to create a button or image or something and have a server-side method to close the window.
Since I've never seen a "z-index" manipulation inside WDP, I don't think you can create a top layer transparent element and have your Action in this element.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.