on 04-13-2013 5:12 AM
Hi,
I had created a custom component.Now i want to call that custom component Dynamically from another component by clicking on a hyperlink.When I click on the hyperlink the custom component is getting navigated but I am getting "Data is not Bound" in the fields of the custom component.Can anyone tell please
Regards
Bharadwaj
Hi Bharadwaj ,
Redifine the method wd_usage_initialize of component controller in the component where your doing component usage. and do binding between the node of component controller of main component with node of component controller of used component.
The below code may help you .
when 'component usage name'
call method iv_usage->bind_context_node
exporting
controller_type = 'Type of controller you want to bind(custom/component controller) '
iv_target_node_name = ' node name of your controller
iv_node_2_bind = 'node name of your component usage controller '
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bharadwaj,
You need to bind the context node to the component controller while cross component navigation.
Thanks & Best Regards,
Leon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.