return currentBuilder.getComponentNamed(property);
}
private List<String> getValidationErrors(UIBuilderImpl builder)
{
UICommand currentWizard = builder.getCommand();
UIValidationContextImpl validationContext = new UIValidationContextImpl(context);
for (InputComponent<?, ?> input : builder.getInputs())
{
input.validate(validationContext);
}
currentWizard.validate(validationContext);
return validationContext.getErrors();
}