> Hey,

>> viewModel.bind("selectedObject", searchResult, "selection[0]");
>> That should do the trick.
> I tryed to use viewModel.bind("selectedObject", searchResult, "selection[0]");
> But I have error "TypeError: Cannot read property '0' of undefined". 
> My property description is:
> selectedObject:{
>       nullable:true,
>       event:"changeSelectedObject"
> },
> Is it correct?
The target is wrong. Are you sure you have the right target? Is there a 
selection property on the searchResult Object?

> I use property with event for data and 
> I think dataChanged event should be started automatically. 
> Am I right?
> My data property description is:
> data:{
>       check:"Array",
>       init:new qx.data.Array(),
>       event:"changeData"
> }

The event is automatically fired as soon as the property changes which means, 
if you set a new array. If you change the arrays content, the array itself fill 
fire a change event. If you want to have a changeData event on the content 
change, you have to fire it manually.

Regards,
Martin
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to