I'm setting the selection via a new qx.data.array
And i was getting the item via a []. That was an error, my problem wasn't here.
The selection was an empty array.

2011/3/18 Martin Wittemann <[email protected]>:
> Hey,
> are you accessing the array items with getItem(i) or with [i]. Are you 
> setting a new Data array as selection or a plain JavaScript array? :)
> Best,
> Martin
>
>
> Am 18.03.2011 um 16:08 schrieb Benjamin Dreux:
>
>> Hi
>>
>> I'm facing an issue.
>> If i try to force a list controller to change it's selection (using a
>> a setSelection). this controller fire a changeSelection event.
>> But inside of this event there is not the selection. There is just an
>> empty array on event.getData();
>> Plus during the execution of the "changeselection" listener, the
>> selection of the controller is empty.
>>
>> Of course this can not be the expected behavior. (This time i'm sure i
>> really understand the api :) )
>> Regards
>>
>> --
>> Benjamin Dreux
>> Analyste-Programmeur
>> Chaire de logiciel libre-Finance Social et solidaire
>> UQAM
>> Montréal
>>
>> ------------------------------------------------------------------------------
>> 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
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal

------------------------------------------------------------------------------
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

Reply via email to