Hello BenoƮt, I took a look at your example and it looks like a bug to me in the first place. I was really surprised that this did not work but I found out which details differs from the test I wrote for the framework. You are using one of the default validators from the framework. These don't return true or false as result. Instead, they throw a validation error which is of course supported. But if a validation error is caught by the manager, it uses the invalid message from the error and set it as invalid message for the widget. Thats the way is currently is and I'm not sure where or event if we should to change the behavior! The default validators in qx.util need to have that error message because you can also use them for validating properties. On the other side, if someone writes his own validator using the errors, we sure want the error message to be evaluated and shown. What do you think? As a quick workaround, you can write your own validator. See the link as an example: http://tinyurl.com/yctoroz
Regards, Martin -- View this message in context: http://n2.nabble.com/Forms-how-can-I-set-custom-invalid-messages-tp4817267p4817696.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
