Configuration Reference
Version:1.2.0.RC1
Views Core Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether CSP is enabled. Default false. |
|
java.lang.String |
Sets the policy directives. |
|
boolean |
If true, the Content-Security-Policy-Report-Only header will be sent instead of Content-Security-Policy. Default false. |
|
java.lang.String |
Sets the path the CSP filter should apply to. Default value "/**". |
Property | Type | Description |
---|---|---|
|
boolean |
Enable {@link SecurityViewModelProcessor}. Default value (true). |
|
java.lang.String |
Model key name. Default value ("security"). |
|
java.lang.String |
Nested security map key for the user’s name property. Default value ("name"). |
|
java.lang.String |
Nested security map key for the user’s attributes property. Default value ("attributes"). |
Property | Type | Description |
---|---|---|
|
boolean |
Whether view rendering is enabled. Default value (true). |
|
java.lang.String |
The folder to look for views. |
|
java.lang.String |
The folder to look for views. Default value ("views"). |
Views Freemarker Config Properties
🔗Property | Type | Description |
---|---|---|
|
freemarker.cache.TemplateLoader |
|
|
freemarker.cache.TemplateLookupStrategy |
|
|
freemarker.cache.TemplateNameFormat |
|
|
freemarker.cache.TemplateConfigurationFactory |
|
|
freemarker.cache.CacheStorage |
|
|
java.io.File |
|
|
long |
|
|
freemarker.template.ObjectWrapper |
|
|
java.util.Locale |
|
|
java.util.TimeZone |
|
|
freemarker.template.TemplateExceptionHandler |
|
|
freemarker.template.AttemptExceptionReporter |
|
|
boolean |
|
|
boolean |
|
|
freemarker.template.Version |
|
|
boolean |
|
|
int |
|
|
freemarker.core.OutputFormat |
|
|
java.util.Collection |
|
|
boolean |
|
|
int |
|
|
int |
|
|
int |
|
|
int |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
freemarker.template.TemplateHashModelEx |
|
|
boolean |
|
|
boolean |
|
|
int |
|
|
java.util.TimeZone |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
freemarker.core.ArithmeticEngine |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
freemarker.core.TemplateClassResolver |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
java.lang.Boolean |
|
|
java.util.Map |
|
|
java.util.List |
|
|
java.util.Properties |
|
|
boolean |
Whether freemarker views are enabled. |
|
java.lang.String |
Sets the default extension to use. |
Views Handlebars Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether handlebars view rendering is enabled. Default value (true). |
|
java.lang.String |
The default extension. Default value ("hbs"). |
Views Thymeleaf Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether thymeleaf rendering is enabled. Default value (true). |
|
java.lang.String |
Sets the character encoding to use. Default value ("UTF-8"). |
|
org.thymeleaf.templatemode.TemplateMode |
Sets the template mode. |
|
java.lang.String |
Sets the suffix to use. |
|
boolean |
Sets whether to force the suffix. Default value (false). |
|
boolean |
Sets whether to force template mode. Default value (false). |
|
boolean |
Sets whether templates are cacheable. |
|
java.lang.Long |
Sets the cache TTL in millis. |
|
boolean |
Sets whether templates should be checked for existence. |
|
java.time.Duration |
Sets the cache TTL as a duration. |
Views Velocity Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether velocity views are enabled. Default value (true). |
|
java.lang.String |
Sets the defautlt extension to use for velocity templates. Default value ("vm"). |