Hi Fritz,
> 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.
>   
Thanks. Using the label works now. You mean, use the data for storing
the index?

However, if I set user data and then get it immediately back, I get
"null". I'm using trunk version 19793. Probably a bug?

cheers,
skar.

-- 
--
The life so short, the craft so long to learn. 


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