cancel
Showing results for 
Search instead for 
Did you mean: 

Binding lost for rapid application embedded view

Former Member
0 Kudos

Hi guys,

I've been struggling with this issue for a day now and I don't know how to get around it.

Here it is:

I have two rapid applications.

The first one displays objects of type A, the second one displays objects of type B.

An object of type A can have many instances of type B linked to it.

When the user opens the details view of object A, I want to add an overview of the linked objects of type B.

So I went ahead:

  • In component A I:
    • Added code to perform a query to get the linked object of type B
    • Put this result into a custom context node on the custom controller
      • this context node is bound to a custom context node on the component controller
  • In component B I:
    • Created custom context node on the component controller
      • bound it to a corresponding context node on the custom controller
      • bound the result node of view *_SRC_TABLE to the custom controller context node
  • I then added component B as a component usage in component A
  • Added the interfaceview *Embed_* ...
  • Added the view to the details view of object A

When I run the application and I select an object of type A, I can see my query is executed succesful and the context node is being bound.

However, in the embedded tableview, it is showing all of the objects of type B that are in the database (not only those I passed to the context node).

Does anybody have an idea as to why it is behaving like this?

Accepted Solutions (0)

Answers (1)

Answers (1)

dharmakasi
Active Contributor
0 Kudos

Hi Wouter,

Have you done the binding in component A component controller impl class WD_USAGE_INITIALIZE method? and what does this mean?

  • bound the result node of view *_SRC_TABLE to the custom controller context node

Best Regards,

Dharmakasi.