org.broadleafcommerce.openadmin.web.processor
Class ErrorsProcessor
java.lang.Object
org.thymeleaf.processor.AbstractProcessor
org.thymeleaf.processor.attr.AbstractAttrProcessor
org.broadleafcommerce.openadmin.web.processor.ErrorsProcessor
- All Implemented Interfaces:
- Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor
@Component(value="blErrorsProcessor")
public class ErrorsProcessor
- extends org.thymeleaf.processor.attr.AbstractAttrProcessor
Processor that returns all the errors within an 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="*{*}"
- Author:
- Phillip Verheyden (phillipuniverse)
|
Method Summary |
int |
getPrecedence()
|
protected org.thymeleaf.processor.ProcessorResult |
processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
|
| Methods inherited from class org.thymeleaf.processor.attr.AbstractAttrProcessor |
doProcess, getMatcher |
| Methods inherited from class org.thymeleaf.processor.AbstractProcessor |
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorsProcessor
public ErrorsProcessor()
getPrecedence
public int getPrecedence()
- Specified by:
getPrecedence in class org.thymeleaf.processor.AbstractProcessor
processAttribute
protected org.thymeleaf.processor.ProcessorResult processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
- Specified by:
processAttribute in class org.thymeleaf.processor.attr.AbstractAttrProcessor
Copyright © 2013. All Rights Reserved.