Hey,
you got two little mistakes in your bind method.

data.bind("array[0]", obj, "content");

First, your data array is the object you bind which means, you bind its 
properties. Therefore, you are binding a property called array of the data 
array which not exists. You want to bind the first element of the array so we 
should use only that.

data.bind("[0]", obj, "content");

But we still got an error. You are binding to a property called content which 
does not exist on the label. What you want to have is the value of the label.

data.bind("[0]", obj, "value");

Here we go, works as expected,
Martin

Am 09.02.2011 um 12:15 schrieb Simone Pandolfo:

> I have write some code in the playground but is not possible to test it 
> http://goo.gl/bok7N
> 
> I have followed the manual, but this don't work, what i miss?
> 
> My problem is with an asyncronous call, when i populate the label i
> don't know if the data is arrived on the array, and i want to make a
> bind for resolve the problem.
> 
> I also try to make a listener, but no event was fired by the
> qx.data.Array()
> 
> Any help?
> 
> regards
> Sp
> 
> -- 
> Erreedi Srl
> Tel. 06.7900639
> Fax 06.79840900
> e-mail: [email protected]
> ------------------------------
> 
> 
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to