I'm using 1.3 out of the box.

I've seen this nice way to add field validation to a form:

form.add(field,field_name,field_validator) where field can be any form
widget, field_name is string and field_validator is a validation function as
expected by the API.

But then all the demo examples uses the following construction:

manager = new qx.ui.form.validation.Manager();
manager.add(field,field_validator);

Why? It's not suppposed that the form has a manager itself on
form.getValidationManager() that has all these validators already set when I
use the construct form.add?

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/why-using-new-qx-ui-form-validation-Manager-tp6183446p6183446.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to