cancel
Showing results for 
Search instead for 
Did you mean: 

On Blur, On Click Events in Web Dynpro - How can it be done ?

Former Member
0 Kudos

Hello All,

I am wondering if it would be possible to have

On_CLick

and

On_Blur

events using Web Dynpros, it would be great if any one can tell me how it is done or provide me some documentation, I have done it using HTMLB but dont know how to do it using Web Dynpros.

I would appreciate any help.

Best Wishes,

John.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi John,

There is no onBlur event in WD. onClick event can be fired by some UI elements: check Reference http://help.sap.com/saphelp_nw04/helpdata/en/5c/1b76bc3da0504e8b535cf3e154eaa7/frameset.htm

Best regards, Maksim Rashchynski.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi John,

As Maksim said you can use the onClick event with some of the UIElement.

for example:

Add a button UIElement to your view

create a new action in the view.

Write in the action something like:

wdComponentAPI.getMessageManager().reportSuccess("Hello John");

In the properties of the button you will see an onAction event. Bind it to the action that you created.

Regards, Adi.