if (objectCreated == null) {
renderFragment("abortedErrorMessageStart");
renderWarnings(warnings, warningArguments, i);
renderFragment("abortedEnd");
} else if (objectCreated instanceof Workspace) {
Workspace p = (Workspace) objectCreated;
setAttribute("name", StringEscapeUtils.escapeHtml(getLocalizedValue(p.getTitle())));
setAttribute("url", LinkToWorkspaceTag.getLink(request, response, p.getId()));
if (anyErrors) {
renderFragment("abortedSuccessMessageStart");
renderWarnings(warnings, warningArguments, i);
renderFragment("abortedEnd");
} else {