Hi

I think you should not set any user property with .set(). Lately your  
build version would crash because of non handeled error.
But you could give the core widget object a new method so it handels  
any property like in set but stores in userData.

Maybe i am wrong ;)
Regards Sak

Von meinem iPhone gesendet

Am 06.01.2010 um 14:49 schrieb Daniel Hirtzbruch <[email protected]>:

>
> Hello List,
>
> first of all: happy new year and Congratulations for releasing  
> QooxDoo 1.0
> ;-)
>
> I know the topic sounds a bit confusing - didn't really know how to  
> name
> it...
>
> In my app I define a series of widgets using an large object by doing
> something like this:
>
> var widgets = {
>  0 : {
>    0: new qx.ui.form.TextField().set({placeholder:"filter 1"}),
>    1: new qx.ui.form.TextField().set({placeholder:"filter 2"}),
>    2: new qx.ui.form.Button("ok"),
>    ...
>  },
>  1 : {
>    ...
>  }
> }
>
> The object contains about 20 entries, each containing between 10 and  
> 20
> objects.
> Now I need to add some userData to some of the widgets. I don't like  
> to do
> this by using widgets[0][2].setUserData("foo","bar") but I'd like  
> doing this
> in the .set({})-method - is this somehow possible?
>
> TIA,
>
> Daniel
> -- 
> View this message in context: 
> http://n2.nabble.com/Setting-userdata-by-using-set-method-tp4260690p4260690.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast  
> and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to