@Override
protected void onComponentCreated(FaceletContext ctx, UIComponent c,
UIComponent parent) {
super.onComponentCreated(ctx, c, parent);
if (c instanceof UIGraphValidator) {
UIGraphValidator graphValidator = (UIGraphValidator) c;
if(null != _profiles){
if (_profiles.isLiteral()) {
graphValidator.setProfiles(AjaxRendererUtils.asSet(_profiles.getValue()));
} else {
graphValidator.setValueExpression("profiles", _profiles.getValueExpression(ctx, Set.class));
}
}
}
}