cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Navigation to a custom component

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

0 Kudos

Hi Bharadwaj,

You need to bind the context node to the component controller while cross component navigation.

Thanks & Best Regards,

Leon

Former Member
0 Kudos

Hi Leon,

Thanks for the reply.I had binded the context nodes.But still I am getting the same error.is there any method to be called when Dynamic Navigation concept is used.

Regards

Bharadwaj