Thank you Chris. I'll try the manager, but sometimes the simplest way is the easiest way, i would be glad to get .getOldData.
THX > Hi Sak, >> congratulation to qooxdoo 1.0! Great job. >> > Thanks! >> I am still using 0.8.3 and have a problem. >> >> I want to validate a text field, but if i use the changeValue event, i >> am >> just getting the value of e.getData() but e.getOldData() is undefined. >> >> How to validate a simple Textfield? > qooxdoo 0.8.3 and 1.0 has a validation manger and some other things for > form handling. > > You can have a look at the example [1] from the demo browser, this demo > shows the interaction with the validation manager. Martin has written an > article for form handling in our manual [2] (qx 0.8.3) and [3] (qx. > 1.0). Here you can find more information about the form handling from > qooxdoo. I hope this helps you to solve your validation problem. If you > have further questions, please ask. >> And why is getOldData() undefined? >> > I can confirm that the getOldData() on the event from 'changeValue' > return 'undefined'. I tested these qooxdoo versions: 0.8.1, 0.8.2, 0.8.3 > and 1.0. All versions return an 'undefined', I don't known the reason, > why getOldValue() returns 'undefined'. It seems to me that this is a bug > and I opened a bug report #3274 for that [4]. Please add yourself to CC > to be informed about the changes. > > Cheers, > Chris > > [1] http://demo.qooxdoo.org/0.8.3/demobrowser/#ui~FormValidator.html > [2] http://qooxdoo.org/documentation/0.8/ui_form_handling > [3] http://qooxdoo.org/documentation/1.0/ui_form_handling > [4] http://bugzilla.qooxdoo.org/show_bug.cgi?id=3274 > > > Christian Schmidt > Software Entwickler > > 1&1 Internet AG - Web Technologies > Ernst-Frey-Straße 9 · DE-76135 Karlsruhe > schmidt.christ...@1und1.de > > Amtsgericht Montabaur / HRB 6484 > Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas > Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. > Oliver Mauss, Jan Oetjen > Aufsichtsratsvorsitzender: Michael Scheeren > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel