String string = element.getConfig().getString("validator", null);
if (string == null) return true;
// MActivator a = validators;
// if (a == null) a = element.getLayoutFactory().getActivator();
MActivator a = element.getLayoutFactory().getActivator();
String[] va = string.split(",");
for (String v : va) {
Validator validator;
try {
validator = (Validator) a.getObject(Validator.class,v);
} catch (Exception e) {
e.printStackTrace();
return false;
}
if (validator != null && !validator.validate(this,element,value))