I have two views (say “a” and “b”) embedded inside a view (say “c”) having a breakpoint container having embedded views “embedded” for “a” and “embedded_0” for “b”. This “c” view is embedded inside a flex repeater view “d” which is bound to a named query returning JSON. Only “d” view has a page associated with it, others are pure views without pages.
I want that flex repeater in view “d” to pass two parameters returned from json object from DB query into view “c” having breakpoint container, which inturn will pass these two parameters to embedded views “embedded” and “embedded_0” which will then pass them to views “a” and “b” depending upon which ever is visible in the breakpoint container.
So I defined two input parameters (say x and y) in the “a” and “b” views and added them in the properties of embedded views “embedded” and “embedded_0” using parameter sync option and given initial values to x and y parameters. It works fine up to this. (the views “a” and “b” receive proper values of x and y as given in their initial values in “embedded” and “embedded_0” view properties.
Now I need to pass these parameters x and y from view “c”, to “embedded” and “embedded_0” views. How to do that? I am confused whether to define x and y as parameters as well in “embedded” and “embedded_0” views and add them as properties in “c” and sync them as parameters? I have to also get these parameters from the flexrepeater view “d” above it in to view “c”. I am facing same situation here how the x and y parameters should be passed from “d” to “c” .
Can someone please explain how the parameter passing works in a nested views scenarios?