Hey,
the model contains the values of the form elements --> set the textfields value 
to "" and your done.
Regards,
Martin


Am 17.08.2011 um 23:30 schrieb franck34:

> 
> Code:
> var controller = new qx.data.controller.Form(null, myForm);
> var data=qx.util.Serializer.toUriParameter(controller.createModel());
> 
> For textField, got "null" in object "data".
> 
> I'd like to have an empty string rather than null, like a common form .
> 
> Have an idea ?
> 
> Thanks in advance.
> 
> 
> 
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/howto-make-controler-model-return-empty-string-rather-than-null-tp6697260p6697260.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
> user administration capabilities and model configuration. Take 
> the hassle out of deploying and managing Subversion and the 
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to