Cascade Bind in Controls

edited July 2014 in Enyo 2.4
Hello Everybody!

I have a control called "MasterControl" on my main view, and when my app create it "on create method" I give a "fetch" in my model (getting from a REST service).

What I'm trying to do is make a bind to the children controls of the "MasterControl".

Could you help me? I separated a session in jsFiddle to demonstrate it:

Thanks in advance.


  • Hi there and welcome! Looking at your fiddle, you probably want to separate your "masterControl" into its own kind definition instead of declaring the "create" method in-line. Additionally, I don't see any child components of "masterControl" defined.
  • In addition to Aaron's comment, the msg control is never created because the components block in which it is defined is overridden by the components block for MySample.

    Here's a loosely converted example:
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!