Now i have another problem. What if the enabled depends on the action of 2 different "hosts"? like i need to check if myLabel1 == '' and myLabel2 == ''.
i tried to duplicate the same function twice for the same object but different sources but i dont think that works like this. anyone has any idea?! raf --- In [email protected], "Rafael Faria" <[EMAIL PROTECTED]> wrote: > > Actually > this helped me > > BindingUtils.bindProperty(myButton, > "enabled", myLabel, > {name:"text",getter:function(host) { if (host.text == '') { return > false; } else { return true; } } }); > > thanks :) >

