How to find all views which reference a model's property?


#1

I’m trying to implement a simple system to display backend validations inline (attached to the input) from a persisted resource. Ideally I want to do is find all Views with a “valueBinding” set to a model’s property. When the model persists, the error function will have access to all views are bound to properties on that model.

I’m wondering how you would go about this. I’m willing to extend some core ember components to make this work in a generic way, but I don’t know my way around the Ember source code and I’m wondering where a good place would be to start.