@Component(value="blErrorsProcessor")
public class ErrorsProcessor
extends org.thymeleaf.processor.attr.AbstractAttrProcessor
EntityForm organized by tab, according to the expression passed
in as an argument.
For instance, if you would like to get all of the errors for the EntityForm, invoke this processor with an
attribute that looks like:
blc_admin:errors="*{*}"| Modifier and Type | Field and Description |
|---|---|
static String |
GENERAL_ERROR_FIELD_KEY |
static String |
GENERAL_ERRORS_TAB_KEY |
protected static org.apache.commons.logging.Log |
LOG |
| Constructor and Description |
|---|
ErrorsProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFieldError(String fieldName,
String message,
Map<String,List<String>> tabErrors) |
int |
getPrecedence() |
protected org.thymeleaf.processor.ProcessorResult |
processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
doProcess, getMatcherprotected static final org.apache.commons.logging.Log LOG
public static final String GENERAL_ERRORS_TAB_KEY
public static final String GENERAL_ERROR_FIELD_KEY
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected org.thymeleaf.processor.ProcessorResult processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
processAttribute in class org.thymeleaf.processor.attr.AbstractAttrProcessorCopyright © 2017. All rights reserved.