Hello Steffen, the behavior you describe is not a bug, its a feature. ;) We changed the handling of all form items so that they can handle null values properly. If you set an empty string, you get an empty string as return. But if you set a null, you will get null as return. This could be used to check if the user has ever ented something in the textfield for example. I also checked the documentation and you are right, there is only a string mentioned as possible return type. I immediately fixed this in trunk (r20132). Thanks for pointing to that bug. Best, Martin
-Steffen- wrote: > > > I came across something strange while porting from 0.8.2 to 0.8.3. The > qx.ui.form.AbstractField.getValue() function returned a String everytime > no > matter if the field had text or not but now in 0.8.3 the function returns > NULL when there is no text. Is this correct or is this a bug? (The > Documentation tells me nothing about a NULL returning). > > Kind regards > Steffen > -- > View this message in context: > http://www.nabble.com/getValue%28%29-returns-NULL-in-0.8.3-tp25485864p25485864.html > Sent from the qooxdoo-devel mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- View this message in context: http://n2.nabble.com/getValue-returns-NULL-in-0-8-3-tp3661215p3661294.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
