// Put new errors into HTML:
for (ObjectError error : errors) {
if (this.rendersError(error)) {
ElementMatcher matcher = this.getElementMatcherForError(error);
Component renderingComponent = this.errorRenderingCallback.getErrorComponent(event, error, this.messageSource, locale);
AppendContentAction appendAction = new AppendContentAction(matcher, renderingComponent);
response.addAction(appendAction);
// Get the actions to execute *after* rendering the component:
AjaxAction[] renderingActions = this.errorRenderingCallback.getErrorActions(event, error);
if (renderingActions != null) {
for (AjaxAction renderingAction : renderingActions) {