cancel
Showing results for 
Search instead for 
Did you mean: 

Event Handlers and Methods

prasad
Participant
0 Kudos

Hi

I am new to web dynpro java . I want to know what are various situations in which Event handlers and Methods are introduced into component controller of a web dynpro component and situations in which individual component subscribe to event in component controller..

Thanks

prasad

Accepted Solutions (1)

Accepted Solutions (1)

former_member218672
Active Contributor
0 Kudos

Hi Prasad,

When we write Events and methods inside the component controller those becomes visible throughout the components. So, for example, any action of a view of the component can call such a method of the component controller.

And when we write an Event or Method inside an individual component, it's life cycle remains inside the component only.

This is the basic difference.

Moreover, If you create attributes insdie component controller those becomes known to all methods that are called within a component and can be used by them, provided they have the Public property.

Hope it helps...

Regards,

Sen

Answers (0)