Hi,

I'm not an expert for qx forms, but what happens when you set an empty 
model to the controller?

Cheers,
Chris

Am 25.10.2010 19:28, schrieb Tamási János:
>   Hi!
>
> I have a little problem with forms. When i destroy the connected model,
> the form disappears, and i can't resurrect it at all. setModel() to
> anything existing doesn't work.
>
> short example:
> ################
> var form = new qx.ui.form.Form();
>
> w = new qx.ui.form.TextField();
> form.add(w, "Label", null, "name");
>
> var formw = new qx.ui.form.renderer.Single(form);
> var controller = new qx.data.controller.From(null, form);
> #################
>
> I set the controller model later with controller.setModel(model).
>
> ------------------------------------------------------------------------------
> 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

Reply via email to