cancel
Showing results for 
Search instead for 
Did you mean: 

mouse click event in webdynpro java

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

Change your requirement to "The window can be closed by pressing a button" (or in releases >= 7.11 by a close-icon).

Armin

Former Member
0 Kudos

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

Former Member
0 Kudos

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