Hi Guilherme,

ah.. stupid! Thanks for the hint - it took me a while to figure that out.

Wouldn't it be nicer, if this would work? (Seems I did too much jQuery
lately, so I got too much used to chaining :-))

thx

andy


On 08.10.10 19:30, "Guilherme Aiolfi" <[email protected]> wrote:

> setUserData() returns nothing. That's why.
> 
> On Fri, Oct 8, 2010 at 7:28 PM, Andy Fuchs <[email protected]> wrote:
> 
>> Hi guys,
>> 
>> could someone please explain the difference between:
>> 
>> var a = new qx.ui.form.RadioButton("1").setUserData("value", "1");
>> var b = new qx.ui.form.RadioButton("2").setUserData("value", "2");
>> 
>> vs.
>> 
>> var a = new qx.ui.form.RadioButton("1");
>> var b = new qx.ui.form.RadioButton("2");
>> rgDHCP.setUserData("value", "1");
>> manSet.setUserData("value", "2");
>> 
>> ?
>> 
>> If I do the latter, my UI looks ok. If I do the first, the radio buttons
>> simply don't show up.
>> 
>> Anyone?
>> 
>> thx
>> 
>> andy
>> 
>> 
>> 
>> 
>> 
>> 
----------------------------------------------------------------------------->>
-
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to