builder = (WidgetValidatorBuilder)this.widgetValidatorBuilderSelector.select(name);
} catch(ServiceException e) {
throw new CascadingException("Unknow kind of validator '" + name + "' at " + DomHelper.getLocation(element), e);
}
widgetDefinition.addValidator(builder.build(element, widgetDefinition));
}
}
}
}