public class SortAttrProcessor
extends org.thymeleaf.processor.attr.AbstractAttrProcessor
<table th:each="product : ${products}">
...
<th pages:sort="name">Sort by name</th>
...
</table>
| Constructor and Description |
|---|
SortAttrProcessor(String attributeName,
PagesDialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedence() |
protected org.thymeleaf.processor.ProcessorResult |
processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
doProcess, getMatcherpublic SortAttrProcessor(String attributeName, PagesDialect dialect)
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected org.thymeleaf.processor.ProcessorResult processAttribute(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
processAttribute in class org.thymeleaf.processor.attr.AbstractAttrProcessorCopyright © 2014. All rights reserved.