Hi John,
It appears as though the documentation may be out of date.
This snippet is probably what is intended:
label1.bind("value", label2, "value");
That way when the value property changes on label1 the value property on
label2 will be updated also.
This would have the same effect as
label1.bind("changeValue", label2, "value");
You can provide either the name of a property of the binding source (that
fires a change event) or the name of a qx.event.type.Data that is fired
from the source.
Nick Tindall
John de la Garza
<[email protected]>
To
11/03/11 09:58 AM qooxdoo Development
<[email protected]
t>
Please respond to cc
qooxdoo
Development Subject
<qooxdoo-devel@li [qooxdoo-devel] data binding
sts.sourceforge.n
et>
I am trying to add this code to a sample hello world app:
var label1 = new qx.ui.basic.Label();
var label2 = new qx.ui.basic.Label();
label1.bind("content", label2, "content");
to a sample hello world app to learn about data binding
I get this error:
uncaught exception: Binding property content of object
qx.ui.basic.Label[52] not possible: No event available. : error
also the qx.ui.basic.Label doesn't have a property 'content'.
I'm working through:
http://manual.qooxdoo.org/1.3.x/pages/data_binding/single_value_binding.html
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information
visit http://www.mci.com
**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.
This email, including all attachments, is confidential. If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments. Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error. If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel