Hi Martin,
I've recreated the error in the playground with the code below so you can
see the error. I'm looking in the framework code maybe with some luck i'll
find what's wrong. I've tested a selectBox and it works fine, it's seems a
ComboBox related problem.
var doc = this.getRoot();
var form = new qx.ui.form.Form();
var combo = new qx.ui.form.ComboBox();
combo.add(new qx.ui.form.ListItem(this.tr("Kiev"), null, "Kiev"));
combo.add(new qx.ui.form.ListItem(this.tr("Odessa"), null, "Odessa"));
combo.add(new qx.ui.form.ListItem(this.tr("Donetsk"), null, "Donetsk"));
combo.add(new qx.ui.form.ListItem(this.tr("Lvov"), null, "Lvov"));
combo.add(new qx.ui.form.ListItem(this.tr("Dnepropetrovsk"), null,
"Dnepropetrovsk"));
combo.add(new qx.ui.form.ListItem(this.tr("Kharkov"), null, "Kharkov"));
form.add(combo, this.tr("City"), null, "city");
var model = new qx.data.controller.Form(null, form).createModel();
var button = new qx.ui.form.Button("json");
button.addListener("execute", function()
{
alert(qx.util.Serializer.toJson(model));
}, this);
form.addButton(button);
doc.add(new qx.ui.form.renderer.Single(form), { top : 50, left : 50});
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Json-and-ComboBox-serializing-problem-tp5917906p5918164.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel