public class SpringSocialDialect
extends org.thymeleaf.dialect.AbstractDialect
implements org.thymeleaf.dialect.IProcessorDialect
Thymeleaf dialect offering Spring Social connectivity integration.
Offers a social:connected attribute that conditional renders content based on whether or not a user has a connection with a given provider.
Example:
<div social:connected="facebook">
Only rendered if connected to Facebook
</div>
| Modifier and Type | Field and Description |
|---|---|
static String |
SOCIAL_DIALECT_PREFIX |
| Constructor and Description |
|---|
SpringSocialDialect() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDialectProcessorPrecedence() |
String |
getPrefix() |
Set<org.thymeleaf.processor.IProcessor> |
getProcessors(String dialectPrefix) |
public static final String SOCIAL_DIALECT_PREFIX
public String getPrefix()
getPrefix in interface org.thymeleaf.dialect.IProcessorDialectpublic int getDialectProcessorPrecedence()
getDialectProcessorPrecedence in interface org.thymeleaf.dialect.IProcessorDialect