On 9/30/16, 8:34 AM, "OK" <p...@olafkrueger.net> wrote:
>Hmm, I notice that the binding doesn't work if I put it all into one file >[1]. >If I outsource the view and do it the same way as it is demonstrated >within >the "DataBindingExample" it works. >Does this makes sense or do I something wrong? You might need to use ApplicationDataBinding. I think FlexJSStore has the main view in the app.mxml with binding. BTW, feel free to get started on a new component set that bakes in binding, either by creating a whole new manifest or by creating subclasses of Container like ContainerWithDataBinding and ViewWithDataBinding. I suspect these slightly heavier components will end up being the most popular so folks don't keep tripping over which beads to include like you just did. The reason the basic set requires you to add these beads is so we can make sure we have "separation-of-concerns" so things are plug-and-play and PAYG. -Alex