public abstract class AbstractSpringFieldTagProcessor
extends org.thymeleaf.processor.element.AbstractAttributeTagProcessor
Values for th:field attributes must be selection expressions (*{...}), as they will be evaluated on the form backing bean and not on the context variables (model attributes in Spring MVC jargon).
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_NAME |
static int |
ATTR_PRECEDENCE |
protected static String |
INPUT_TAG_NAME |
protected static String |
INPUT_TYPE_ATTR_NAME |
protected static String |
OPTION_TAG_NAME |
protected static String |
SELECT_TAG_NAME |
protected static String |
TEXTAREA_TAG_NAME |
| Constructor and Description |
|---|
AbstractSpringFieldTagProcessor(org.thymeleaf.dialect.IProcessorDialect dialect,
String dialectPrefix,
String elementName,
String discriminatorAttrName,
String[] discriminatorAttrValues,
boolean removeAttribute) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
computeId(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
String name,
boolean sequence) |
protected abstract void |
doProcess(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
org.thymeleaf.engine.AttributeName attributeName,
String attributeValue,
String attributeTemplateName,
int attributeLine,
int attributeCol,
org.springframework.web.servlet.support.BindStatus bindStatus,
org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) |
protected void |
doProcess(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
org.thymeleaf.engine.AttributeName attributeName,
String attributeValue,
String attributeTemplateName,
int attributeLine,
int attributeCol,
org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler) |
doProcessgetMatchingAttributeName, getMatchingElementName, processgetDialect, getPrecedence, getTemplateModepublic static final int ATTR_PRECEDENCE
public static final String ATTR_NAME
protected static final String INPUT_TAG_NAME
protected static final String SELECT_TAG_NAME
protected static final String OPTION_TAG_NAME
protected static final String TEXTAREA_TAG_NAME
protected static final String INPUT_TYPE_ATTR_NAME
protected void doProcess(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
org.thymeleaf.engine.AttributeName attributeName,
String attributeValue,
String attributeTemplateName,
int attributeLine,
int attributeCol,
org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
doProcess in class org.thymeleaf.processor.element.AbstractAttributeTagProcessorprotected abstract void doProcess(org.thymeleaf.context.ITemplateContext context,
org.thymeleaf.model.IProcessableElementTag tag,
org.thymeleaf.engine.AttributeName attributeName,
String attributeValue,
String attributeTemplateName,
int attributeLine,
int attributeCol,
org.springframework.web.servlet.support.BindStatus bindStatus,
org.thymeleaf.processor.element.IElementTagStructureHandler structureHandler)
Copyright © 2015 The THYMELEAF team. All rights reserved.