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