Hi halcwb,

instead of ...
selectModel.push({ label: 'Test', data: 'Test'});

... you have to use ...
selectModel.push(qx.data.marshal.Json.createModel({ label: 'Test', data: 
'Test'}));

The model expects model objects and not native objects.
When native objects are concerned only strings are working
because there is no need to call getLabel() on them.

Regards
Richard

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to