Skip to Content
0
Former Member
Apr 03, 2015 at 07:56 AM

Binding lost for rapid application embedded view

20 Views

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?