I Mean pls read that <http://qooxdoo.org/documentation/0.8/ui_interaction> http://qooxdoo.org/documentation/0.8/ui_interaction
Is completed event firering?, Did you check your response with firebug? Regards Sak SAKsystems Inh. Mustafa Sak Varrelmannstr. 16 30453 Hannover Tel. +49 511 / 165 969 40 Fax +49 511 / 165 969 49 Mobil +49 163 / 312 6144 http://www.saksys.de <mailto:[email protected]> [email protected] STEUER-Nr. 2613817458 _____ Von: [email protected] [mailto:[email protected]] Gesendet: Sonntag, 31. Oktober 2010 18:59 An: [email protected] Betreff: Re: [qooxdoo-devel] Dynamic widgets? Hello Mustafa, thank you , but i dont see the difference. Your "this" is a call inside the function?! My old code looks like this req.addListener("completed", function(e) { this.widgets["f1"+i2] = new qx.ui.form.SelectBox().set({ width : width }); this.widgets["f1"+ i2].setUserData("objecttyp","SelectBox"); this.forms[i].add(this.widgets["f1+ i2"], "Gruppe2 "); var j = e.getContent(); if(!isNaN(j["USERID"]) && j["result"] == "OK") { for(i2 = 0;i2 < j["data"].length;i2++) { this.widgets["f1"] = new qx.ui.form.SelectBox().set({ width : width }); this.widgets["f1"].setUserData("objecttyp","SelectBox"); this.forms[i].add(this.widgets["f1"], "Gruppe " + i2); } } },this); our "this" is here:) see above and it dosent run May be you have fall into the this-trap :) req.addListener("completed", function(e) { this} ); <-- this here means req try that req.addListener("completed", function(e) { this}, this ); <-- this here means class. By the way this.widgets["f1"].setUserData("objecttyp","SelectBox"); Is not necessary, use getAppearance() Regards Sak SAKsystems Inh. Mustafa Sak Varrelmannstr. 16 30453 Hannover Tel. +49 511 / 165 969 40 Fax +49 511 / 165 969 49 Mobil +49 163 / 312 6144 http://www.saksys.de [email protected] STEUER-Nr. 2613817458 -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Gesendet: Sonntag, 31. Oktober 2010 16:29 An: [email protected] Betreff: [qooxdoo-devel] Dynamic widgets? iadd some widgets like this var width = 140; this.forms[i] = new qx.ui.form.Form(); this.widgets["f1"] = new qx.ui.form.SelectBox().set({ width : width }); this.widgets["f1"].setUserData("objecttyp","SelectBox"); this.forms[i].add(this.widgets["f1"], "Gruppe "); but when iadd thewidget at thesamewayin a ajax complete event like this req.addListener("completed", function(e) { the widget dosent appear Why? I tryallbut nothng works:( ---------------------------------------------------------------------------- -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ---------------------------------------------------------------------------- -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
<<attachment: Mustafa Sak ([email protected]).vcf>>
------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
