/** * Returns true if the edited content contains validation errors, otherwise false.<p> * * @return true if the edited content contains validation errors, otherwise false */ public boolean hasValidationErrors() { return getValidationHandler().hasErrors(); }
/** * Returns true if the edited content contains validation errors, otherwise false.<p> * * @return true if the edited content contains validation errors, otherwise false */ public boolean hasValidationErrors() { return getValidationHandler().hasErrors(); }
if (!nested && showErrors && (getValidationHandler().hasErrors())) { "<span class=\"ui-icon ui-icon-alert\" style=\"float: left; margin-right: 0.3em;\"></span>"); boolean differentLocaleErrors = false; if ((getValidationHandler().getErrors(getElementLocale()) == null) || (getValidationHandler().getErrors().size() > getValidationHandler().getErrors( getElementLocale()).size())) { Map<Locale, Map<String, String>> locErrors = getValidationHandler().getErrors(); Iterator<Map.Entry<Locale, Map<String, String>>> locErrorsIter = locErrors.entrySet().iterator(); while (locErrorsIter.hasNext()) { && getValidationHandler().hasErrors(getElementLocale()) && getValidationHandler().getErrors(getElementLocale()).containsKey(key)) { result.append(getEditorResourceUri()); result.append("error.png\" border=\"0\" alt=\"\" align=\"left\" hspace=\"5\">"); result.append(resolveMacros(getValidationHandler().getErrors(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n"); } else { result.append("error.png"); result.append("\" border=\"0\" alt=\"\"></td><td class=\"xmlTdError\">"); result.append(resolveMacros(getValidationHandler().getErrors(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n"); && getValidationHandler().hasWarnings(getElementLocale()) && getValidationHandler().getWarnings(getElementLocale()).containsKey(key)) {
if (!nested && showErrors && (getValidationHandler().hasErrors())) { result.append("<span class=\"ui-icon ui-icon-alert\" style=\"float: left; margin-right: 0.3em;\"></span>"); boolean differentLocaleErrors = false; if ((getValidationHandler().getErrors(getElementLocale()) == null) || (getValidationHandler().getErrors().size() > getValidationHandler().getErrors(getElementLocale()).size())) { Map locErrors = getValidationHandler().getErrors(); Iterator locErrorsIter = locErrors.entrySet().iterator(); while (locErrorsIter.hasNext()) { && getValidationHandler().hasErrors(getElementLocale()) && getValidationHandler().getErrors(getElementLocale()).containsKey(key)) { result.append(getEditorResourceUri()); result.append("error.png\" border=\"0\" alt=\"\" align=\"left\" hspace=\"5\">"); result.append(resolveMacros(getValidationHandler().getErrors(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n"); } else { result.append("error.png"); result.append("\" border=\"0\" alt=\"\"></td><td class=\"xmlTdError\">"); result.append(resolveMacros(getValidationHandler().getErrors(getElementLocale()).get(key))); result.append("</td><td></td></tr>\n"); && getValidationHandler().hasWarnings(getElementLocale()) && getValidationHandler().getWarnings(getElementLocale()).containsKey(key)) { result.append(getEditorResourceUri());
if (getValidationHandler().hasWarnings(getElementLocale())) {
if (getValidationHandler().hasWarnings(getElementLocale())) {
if (getValidationHandler().hasWarnings(getElementLocale())) {
if (getValidationHandler().hasWarnings(getElementLocale())) {