You could attach a listener to the event being generated when the checkbox
is changed. Look for

        addListener()

in the API and for the event in the checkbox API (I would guess
changeSelection, but I am not sure).

Cheers,
Fritz

On Fri, 16 Apr 2010, alexander.volik wrote:

>
> I have extended list (with checkbox and label in each line). The list was
> defined in such way
>
> var list = new qx.ui.form.List();
> locationKeywordsTab.add(list);
> var rawData = [{"name":"Keyword 1", "selected":true}, {"name":"Keyword 2",
> "selected": false}];
> var arrayWrapper = qx.data.marshal.Json.createModel(rawData);
> // create the controller for list
> var listController = new qx.data.controller.List(arrayWrapper, list,
> "name");
>
> I want to show alert text such as "Keyword 1 is selected, Keyword 2 is not
> selected" after user change checkbox state. How can I do it?
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to