Skip to Content
author's profile photo Former Member
Former Member

Event handling issue in Webdynpro

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

Event.png (8.6 kB)
Method.png (14.3 kB)
EventHandler.png (10.9 kB)
Debug1.png (3.2 kB)
Debug2.png (12.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2016 at 10:23 PM

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

    Regds

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.