hello
i have a form has several text fields & select boxes etc..
each selectBox has own data model.
i created a form controller for serialization of all form elements.
code looks like following:
var modelskel = {textbox: null, selectbox: null }
var model = qx.data.marshal.Json.createModel(modelskel);
var controller = new qx.data.controller.Object(model);
control.addTarget(textbox1, "value", "textbox", true);
control.addTarget(selectbox1, "selection", "selectbox", true);
.....
submitButton.addListener("execute", function() {
if (manager.validate()) alert("You are sending: " +
qx.util.Serializer.toUriParameter(model));
}, this);
but when i run this code, instead of selectboxes' selected item values i see
something like qx.ui.form.ListItem%5Bvx%5D. do i have to do something
different for selectboxes with own data models?
regards
huseyin
--
View this message in context:
http://n2.nabble.com/form-controller-serialization-tp4585728p4585728.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel