org.thymeleaf.spring3.dialect
Class SpringStandardDialect
Object
org.thymeleaf.dialect.AbstractDialect
org.thymeleaf.dialect.AbstractXHTMLEnabledDialect
org.thymeleaf.standard.StandardDialect
org.thymeleaf.spring3.dialect.SpringStandardDialect
- All Implemented Interfaces:
- org.thymeleaf.dialect.IDialect
public class SpringStandardDialect
- extends org.thymeleaf.standard.StandardDialect
Specialized version of StandardDialect
meant for use in Spring MVC applications.
It includes all attribute processors and features present in the
Standard Dialect (therefore all the Standard Dialect documentation is still valid for this
dialect), but establishes the following differences:
- The language used for evaluation of expressions is Spring Expression Language instead of OGNL.
- Expressions can use an object called #beans to access beans in the Application
Context: ${beans.myBean.doSomething()}.
- New attributes for form processing:
- th:field for binding form fields to attributes in form-backing beans.
- th:errors for showing form validation errors.
- Modification to th:object for using it as a form-back bean selection mechanism.
- New DTDs for validating template modes:
- XHTML 1.0 Strict : SYSTEMID "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring3-2.dtd"
- XHTML 1.0 Transitional : SYSTEMID "http://www.thymeleaf.org/dtd/xhtml1-transitional-thymeleaf-spring3-2.dtd"
- XHTML 1.0 Frameset : SYSTEMID "http://www.thymeleaf.org/dtd/xhtml1-frameset-thymeleaf-spring3-2.dtd"
- XHTML 1.1 : SYSTEMID "http://www.thymeleaf.org/dtd/xhtml11-thymeleaf-spring3-2.dtd"
- Since:
- 1.0
- Author:
- Daniel Fernández
Fields inherited from class org.thymeleaf.standard.StandardDialect |
DOC_TYPE_RESOLUTION_ENTRIES, DOC_TYPE_TRANSLATIONS, INLINER_LOCAL_VARIABLE, LENIENT, PREFIX, XHTML1_FRAMESET_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_FRAMESET_THYMELEAF_1_DOC_TYPE_TRANSLATION, XHTML1_FRAMESET_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_FRAMESET_THYMELEAF_2_DOC_TYPE_TRANSLATION, XHTML1_FRAMESET_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_FRAMESET_THYMELEAF_3_DOC_TYPE_TRANSLATION, XHTML1_FRAMESET_THYMELEAF1_SYSTEMID, XHTML1_FRAMESET_THYMELEAF2_SYSTEMID, XHTML1_FRAMESET_THYMELEAF3_SYSTEMID, XHTML1_STRICT_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_STRICT_THYMELEAF_1_DOC_TYPE_TRANSLATION, XHTML1_STRICT_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_STRICT_THYMELEAF_2_DOC_TYPE_TRANSLATION, XHTML1_STRICT_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_STRICT_THYMELEAF_3_DOC_TYPE_TRANSLATION, XHTML1_STRICT_THYMELEAF1_SYSTEMID, XHTML1_STRICT_THYMELEAF2_SYSTEMID, XHTML1_STRICT_THYMELEAF3_SYSTEMID, XHTML1_TRANSITIONAL_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_TRANSITIONAL_THYMELEAF_1_DOC_TYPE_TRANSLATION, XHTML1_TRANSITIONAL_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_TRANSITIONAL_THYMELEAF_2_DOC_TYPE_TRANSLATION, XHTML1_TRANSITIONAL_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY, XHTML1_TRANSITIONAL_THYMELEAF_3_DOC_TYPE_TRANSLATION, XHTML1_TRANSITIONAL_THYMELEAF1_SYSTEMID, XHTML1_TRANSITIONAL_THYMELEAF2_SYSTEMID, XHTML1_TRANSITIONAL_THYMELEAF3_SYSTEMID, XHTML11_THYMELEAF_1_DOC_TYPE_RESOLUTION_ENTRY, XHTML11_THYMELEAF_1_DOC_TYPE_TRANSLATION, XHTML11_THYMELEAF_2_DOC_TYPE_RESOLUTION_ENTRY, XHTML11_THYMELEAF_2_DOC_TYPE_TRANSLATION, XHTML11_THYMELEAF_3_DOC_TYPE_RESOLUTION_ENTRY, XHTML11_THYMELEAF_3_DOC_TYPE_TRANSLATION, XHTML11_THYMELEAF1_SYSTEMID, XHTML11_THYMELEAF2_SYSTEMID, XHTML11_THYMELEAF3_SYSTEMID |
Methods inherited from class org.thymeleaf.standard.StandardDialect |
createStandardProcessorsSet, getPrefix, getProcessors, isLenient |
Methods inherited from class org.thymeleaf.dialect.AbstractXHTMLEnabledDialect |
getDocTypeResolutionEntries |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XHTML1_STRICT_THYMELEAFSPRING3_1_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_STRICT_THYMELEAFSPRING3_1_SYSTEMID
XHTML1_TRANSITIONAL_THYMELEAFSPRING3_1_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_TRANSITIONAL_THYMELEAFSPRING3_1_SYSTEMID
XHTML1_FRAMESET_THYMELEAFSPRING3_1_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_FRAMESET_THYMELEAFSPRING3_1_SYSTEMID
XHTML11_THYMELEAFSPRING3_1_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML11_THYMELEAFSPRING3_1_SYSTEMID
XHTML1_STRICT_THYMELEAFSPRING3_2_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_STRICT_THYMELEAFSPRING3_2_SYSTEMID
XHTML1_TRANSITIONAL_THYMELEAFSPRING3_2_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_TRANSITIONAL_THYMELEAFSPRING3_2_SYSTEMID
XHTML1_FRAMESET_THYMELEAFSPRING3_2_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_FRAMESET_THYMELEAFSPRING3_2_SYSTEMID
XHTML11_THYMELEAFSPRING3_2_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML11_THYMELEAFSPRING3_2_SYSTEMID
XHTML1_STRICT_THYMELEAFSPRING3_3_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_STRICT_THYMELEAFSPRING3_3_SYSTEMID
XHTML1_TRANSITIONAL_THYMELEAFSPRING3_3_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_TRANSITIONAL_THYMELEAFSPRING3_3_SYSTEMID
XHTML1_FRAMESET_THYMELEAFSPRING3_3_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML1_FRAMESET_THYMELEAFSPRING3_3_SYSTEMID
XHTML11_THYMELEAFSPRING3_3_SYSTEMID
public static final org.thymeleaf.doctype.DocTypeIdentifier XHTML11_THYMELEAFSPRING3_3_SYSTEMID
XHTML1_STRICT_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_STRICT_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_TRANSITIONAL_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_TRANSITIONAL_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_FRAMESET_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_FRAMESET_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
XHTML11_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML11_THYMELEAFSPRING3_1_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_STRICT_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_STRICT_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_TRANSITIONAL_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_TRANSITIONAL_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_FRAMESET_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_FRAMESET_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
XHTML11_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML11_THYMELEAFSPRING3_2_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_STRICT_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_STRICT_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_TRANSITIONAL_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_TRANSITIONAL_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
XHTML1_FRAMESET_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML1_FRAMESET_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
XHTML11_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
public static final org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry XHTML11_THYMELEAFSPRING3_3_DOC_TYPE_RESOLUTION_ENTRY
SPRING3_DOC_TYPE_RESOLUTION_ENTRIES
public static final Set<org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry> SPRING3_DOC_TYPE_RESOLUTION_ENTRIES
SPRING3_XHTML1_STRICT_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_STRICT_THYMELEAF_1_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_TRANSITIONAL_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_TRANSITIONAL_THYMELEAF_1_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_FRAMESET_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_FRAMESET_THYMELEAF_1_DOC_TYPE_TRANSLATION
SPRING3_XHTML11_THYMELEAF_1_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML11_THYMELEAF_1_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_STRICT_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_STRICT_THYMELEAF_2_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_TRANSITIONAL_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_TRANSITIONAL_THYMELEAF_2_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_FRAMESET_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_FRAMESET_THYMELEAF_2_DOC_TYPE_TRANSLATION
SPRING3_XHTML11_THYMELEAF_2_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML11_THYMELEAF_2_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_STRICT_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_STRICT_THYMELEAF_3_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_TRANSITIONAL_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_TRANSITIONAL_THYMELEAF_3_DOC_TYPE_TRANSLATION
SPRING3_XHTML1_FRAMESET_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML1_FRAMESET_THYMELEAF_3_DOC_TYPE_TRANSLATION
SPRING3_XHTML11_THYMELEAF_3_DOC_TYPE_TRANSLATION
public static final org.thymeleaf.doctype.translation.IDocTypeTranslation SPRING3_XHTML11_THYMELEAF_3_DOC_TYPE_TRANSLATION
SPRING3_DOC_TYPE_TRANSLATIONS
public static final Set<org.thymeleaf.doctype.translation.IDocTypeTranslation> SPRING3_DOC_TYPE_TRANSLATIONS
SpringStandardDialect
public SpringStandardDialect()
getDocTypeTranslations
public Set<org.thymeleaf.doctype.translation.IDocTypeTranslation> getDocTypeTranslations()
- Specified by:
getDocTypeTranslations
in interface org.thymeleaf.dialect.IDialect
- Overrides:
getDocTypeTranslations
in class org.thymeleaf.standard.StandardDialect
getAdditionalDocTypeTranslations
protected Set<org.thymeleaf.doctype.translation.IDocTypeTranslation> getAdditionalDocTypeTranslations()
- Overrides:
getAdditionalDocTypeTranslations
in class org.thymeleaf.standard.StandardDialect
getSpecificDocTypeResolutionEntries
public Set<org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry> getSpecificDocTypeResolutionEntries()
- Overrides:
getSpecificDocTypeResolutionEntries
in class org.thymeleaf.standard.StandardDialect
getAdditionalDocTypeResolutionEntries
protected Set<org.thymeleaf.doctype.resolution.IDocTypeResolutionEntry> getAdditionalDocTypeResolutionEntries()
- Overrides:
getAdditionalDocTypeResolutionEntries
in class org.thymeleaf.standard.StandardDialect
getAdditionalProcessors
protected Set<org.thymeleaf.processor.IProcessor> getAdditionalProcessors()
- Overrides:
getAdditionalProcessors
in class org.thymeleaf.standard.StandardDialect
getRemovedProcessors
protected Set<Class<? extends org.thymeleaf.processor.IProcessor>> getRemovedProcessors()
- Overrides:
getRemovedProcessors
in class org.thymeleaf.standard.StandardDialect
getExecutionAttributes
public Map<String,Object> getExecutionAttributes()
- Specified by:
getExecutionAttributes
in interface org.thymeleaf.dialect.IDialect
- Overrides:
getExecutionAttributes
in class org.thymeleaf.standard.StandardDialect
Copyright © 2012 The THYMELEAF team. All Rights Reserved.