public final class StandardWithAttrProcessor extends AbstractStandardLocalVariableDefinitionAttrProcessor
<div th:with="firstPer=${persons[0]},secondPer=${persons[1]}">
<p th:text="${firstPer.name}">First person name<p>
<p th:text="${secondPer.name}">Second person name<p>
</div>
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_NAME |
static int |
ATTR_PRECEDENCE |
| Constructor and Description |
|---|
StandardWithAttrProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
getNewLocalVariablesprocessAttributedoProcess, getMatchercompareTo, getMessage, getMessageForProcessor, getMessageForTemplate, processpublic static final int ATTR_PRECEDENCE
public static final String ATTR_NAME
public int getPrecedence()
getPrecedence in class AbstractProcessorCopyright © 2016 The THYMELEAF team. All rights reserved.