Binding to ModelController not working

edited November 2013 in Enyo 2.4
I have a problem with (or I've misunderstood mechanism of) binding to ModelController.

In this fiddle:

I'm trying to bind view components to model controller values. After View Controller is created the binding does not work anymore.

Have I misunderstood MVC structure of enyo or should this work?

Is there any guide to MVC structure?



  • I think this is a bug.

    If you change the code to read = new enyo.ModelController();"model", new SimpleModel());
    then it works. It looks like the hookup of the observers for the model property in modelChanged isn't run if model is set in the descriptor object.
Sign In or Register to comment.