Ok, the property that i'm Binding to must be public, that seems to work and the docs back it up :)
On 2 April 2010 23:18, Nick Middleweek <n...@middleweek.co.uk> wrote: > The same goes for ChangeWatcher... > > I can't do this... > > ChangeWatcher.watch( this, "boolEditableProperty", callback ); > > > but I can do this... > > ChangeWatcher.watch( vendorName, "editable", callback ); // where > vendorName is a TextBox. > > > Apart from binding this.boolEditableProperty to a hidden textBox.editable > and then Binding my Watcher to the hidden textBox, is there a correct way of > handling this?> > > > Cheers guys... > Nick > > > > > On 2 April 2010 23:05, Nick Middleweek <n...@middleweek.co.uk> wrote: > >> Hi, >> >> I'm trying to Bind a property on a component to a sub component but it >> doesn't seem to like binding to a property on "this". >> >> // Set up Bindings and Watchers... >> __vendorAgencyOfficeFieldsEnterableChangeWatcher = >> BindingUtils.bindProperty(agencyOfficeHybridAccordian, "enterable", this, >> "vendorAgencyOfficeFieldsEnterable");// vendorName, "editable"); >> >> >> Has anyone managed to do this? >> >> >> Thanks, >> Nick >> >> >