Hi Martin,
thanks again, now I can see.
But, if I copy your code to the current playground the output is
You are sending:
{"count":"1","coloroption":{"label":"Green","id":4},"hidden":"x"}
in the devel playground
You are sending: {"count":"1","coloroption":3,"hidden":"x"}
Is this why I use version 1.2 of QX and not 1.3?
you have also changed this;
controller.addTarget(selectBoxColor, "selection", "coloroption", true );
to
controller.addTarget(selectBoxColor, "modelSelection[0]", "coloroption",
true);
What is "modelSelection[0]" ?
best regards
Hansjoerg
--
View this message in context:
http://old.nabble.com/Controlller%2C-How-get-value-instead-of-label-of-a-SelectBox--tp30255702p30256597.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel