Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8644

Re: How to handle button event in modalup in webdynpro

$
0
0

Hi,

 

Go to attributes tab of Component controller and create an attribute, say, gv_view_controller of type ref to if_wd_view_controller.

 

Then in WDDOINIT method of your view, set the reference, using

 

wd_comp_controller->gv_view_controller = wd_this->wd_get_api( ).

 

Then pass wd_this->gv_comp_controller to the subscribe to button event method in Component controller,

 

Or, If you are calling the component controller method from View, create an importing parameter in the component controller method and pass the view controller reference.

 

 

Regards,

Kiran


Viewing all articles
Browse latest Browse all 8644

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>