--- In [email protected], "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > BindingUtils.bindProperty(ti, "text", sourceObject, "sourceProperty"); >
How i would add a function to tell what i need to set?
like in my example i want to set the sourceObject.enabled according to
the content of the ti.text.
i tried
BindingUtils.bindProperty(ti,"text",sourceObject,{name:'text',access:function(host){
if (host.text == '') ti.enabled = false; }})
no success.
any ideas?

