cancel
Showing results for 
Search instead for 
Did you mean: 

To raise event on action of a field in a reused component

Former Member
0 Kudos

Hi,

How to raise event defined in the component controller of a reused component. i am unable to find the method to raise the event. Can anyone please let me know the method to raise event and in which webdynpro interface it resides.

Regards,

Tushar.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thank you ronal for reply, but my question is bit different. I have created an event in used component and have to raise tht event when change on a perticular field takes place in the view of reused component. So my question is how to raise tht event, i guess web dynpro provides some method for that but i am not able to find.

Former Member
0 Kudos

Hi,

Please declare the event in componentcontroller and use code wizard to raise that event.

Depending upon your functionality, write in the event handler in a view (used or consumer component). If you want to use the event across components then please mark that event as interface event by checking the interface column.

thanks,

Rahul

Former Member
0 Kudos

Hi Tushar,

This thread might help.

Regards,

Runal

Former Member
0 Kudos

Hi Tushar,

You will have to create a method of type Event Handler and in the Event column select the event from the re-used component, so whenever that event will be raised your method will be executed and you can perform the respective operation.

Regards,

Runal