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

Re: Add attributes to binded context nodes

$
0
0

Hi Mike,

 

When you create binding the wizard generates a piece of code behind the scene.

 

Sample code generated looks like below.

* Added by wizard
* bind Context Node to controller
   owner->do_context_node_binding(
   iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_COMPONENT
   iv_target_node_name = 'BTCUSTOMERH'
   iv_node_2_bind = BTCUSTOMERH
   iv_mode = CL_BSP_WD_CONTROLLER=>CO_SHARE_COLLECTION ).

 

And this code is written into the method create_xxxx( after the creation code) of the respective context class to which this context node belongs where xxxx is the context node name.

 

For every context node you created you will have a similar method in context class generated by wizard.

 

Binding will make both your context nodes to point the same instance of the object created from context node class.

 

So you don't need to remove the binding and add it again.

 

Regards

Vinod


Viewing all articles
Browse latest Browse all 9564

Trending Articles



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