Class SpringErrorClassTagProcessor

All Implemented Interfaces:
IAttributeDefinitionsAware, IElementProcessor, IElementTagProcessor, IProcessor

public final class SpringErrorClassTagProcessor extends AbstractAttributeTagProcessor implements IAttributeDefinitionsAware
Adds the given class to the field on which this attribute is applied, if that field contains errors. It's similar to a combination of th:classappend with a ${#fields.hasErrors()} expression.
Since:
3.0.3
Author:
Daniel Fernández