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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to