Package org.thymeleaf.spring4.processor
Class SpringUErrorsTagProcessor
- Object
-
- org.thymeleaf.processor.AbstractProcessor
-
- org.thymeleaf.processor.element.AbstractElementTagProcessor
-
- org.thymeleaf.processor.element.AbstractAttributeTagProcessor
-
- org.thymeleaf.spring4.processor.SpringUErrorsTagProcessor
-
- All Implemented Interfaces:
org.thymeleaf.processor.element.IElementProcessor
,org.thymeleaf.processor.element.IElementTagProcessor
,org.thymeleaf.processor.IProcessor
public final class SpringUErrorsTagProcessor extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
Works in a similar way to #fields.errors(), but lists all errors for the given field name, unescaped and separated by a <br/>.- Since:
- 3.0.8
- Author:
- Daniel Fernández
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_NAME
static int
ATTR_PRECEDENCE
-
Constructor Summary
Constructors Constructor Description SpringUErrorsTagProcessor(String dialectPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
-
Methods inherited from class org.thymeleaf.processor.element.AbstractAttributeTagProcessor
doProcess
-
Methods inherited from class org.thymeleaf.processor.element.AbstractElementTagProcessor
getDialectPrefix, getMatchingAttributeName, getMatchingElementName, process
-
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
getPrecedence, getTemplateMode
-
-
-
-
Field Detail
-
ATTR_PRECEDENCE
public static final int ATTR_PRECEDENCE
- See Also:
- Constant Field Values
-
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SpringUErrorsTagProcessor
public SpringUErrorsTagProcessor(String dialectPrefix)
-
-
Method Detail
-
doProcess
protected void doProcess(org.thymeleaf.context.ITemplateContext context, org.thymeleaf.model.IProcessableElementTag tag, org.thymeleaf.engine.AttributeName attributeName, String attributeValue, org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
- Specified by:
doProcess
in classorg.thymeleaf.processor.element.AbstractAttributeTagProcessor
-
-