Class SpringErrorsTagProcessor

  • All Implemented Interfaces:
    org.thymeleaf.processor.element.IElementProcessor, org.thymeleaf.processor.element.IElementTagProcessor, org.thymeleaf.processor.IProcessor

    public final class SpringErrorsTagProcessor
    extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
    Works in a similar way to #fields.errors(), but lists all errors for the given field name, separated by a <br/>
    Since:
    3.0.0
    Author:
    Daniel Fernández
    • 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
      • Methods inherited from interface org.thymeleaf.processor.IProcessor

        getPrecedence, getTemplateMode
    • Constructor Detail

      • SpringErrorsTagProcessor

        public SpringErrorsTagProcessor​(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 class org.thymeleaf.processor.element.AbstractAttributeTagProcessor