Skip to Content
avatar image
Former Member

How to call another view controller's method from a view controller?

Hi Expert,

How to call another view controller's method from a view controller in the same Web Dynpro Component?

Many thanks in advance.

Best Regards,

Derek

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 19, 2010 at 06:14 AM

    If it is to call a method from view controller to component controller then use the attribute: wd_comp_controller. Similarly use the attribute in the component controller related to the view controller.

    Check the Attribute tab of the controller to obtain the reference variables created by the WD framework. Use them to call the methods across controllers.

    Regards,

    Sharath M G

    P.S.To get an indepth view of possible methods, double-click on the ref variables and observe the nodes and methods declared.

    Add comment
    10|10000 characters needed characters exceeded