cancel
Showing results for 
Search instead for 
Did you mean: 

Event handling issue in Webdynpro

Former Member
0 Kudos

Hi,

I have this weird issue and not able to find out the cause. I want to access a View method of Dynpro Component (C2) from a Dynpro Component (C1).

I have created the event in Component Controller of C2 and also wrote a method in the Component Controller to fire the event as below (This method is marked as Interface):

I have created a Event Handler in the view as below :

When I run my application, the code does not raise this event. The C1 does trigger the Component Controller method of C2 :

However, it comes to the below point :

But it just comes out of the method and does not stop or execute the actual event handler method code in the view.

Am I missing something ? I have done similar thing in another application and it works fine. It calls the constructor method after the above code and enters the event handler method. Kindly assist.

Thanks and Regards

        Vivek

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can you try adding C2 into C1 under Webdynpro component-used Web Dynpro component and try.

Regds

Former Member
0 Kudos

Hi Techie

Yes. I have done that. I dont think there is any issue with C1 and it does call the Component Controller method of C2, as shown in the screenshot but the fire event statement is not invoking the event method in the view.

Szczerbowski
Active Participant
0 Kudos

Huh weird,

Is your view instantiated etc ?

Can you try with another event/handler, just to check if the generated part didn't get any issues?

M.