Hi Skar,

getLabel(), setLabel are methods to access the label of the SelectBox.
setUserData() and getUserData() are methods you can use with all/most
widgets (inherited).

The idea is, to implement the old SelectBox-behaviour (with both a label and
an 'index' for each item) by using set/getUserData.

I am not sure, that I like this, but it certainly works.

Cheers,
Fritz

On Tue, 11 Aug 2009, skar wrote:

> Hi,
>
> I'm using a selectbox with some list items. I'm getting this warning in
> firebug console when I just create 2 list items and add them to a selectbox:
>
>> 143029 The method 'qx.ui.form.ListItem.prototype.getValue()' is
>> deprecated: The value is deprecated. Please use label or userData instead.
> But I couldn't find any label or userData related members or methods to
> access. Any idea on how to do this?
>
> cheers,
> skar.
>
>

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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to