Configuration Reference
Version:4.1.0
Micronaut Views Core Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
enabled getter. |
|
java.lang.String |
|
|
java.lang.String |
The folder to look for views. Default value ("views"). |
Property | Type | Description |
---|---|---|
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
java.util.Random |
|
|
boolean |
If true, the CSP header will contain a generated nonce that is made available to view renderers. The nonce should change for each request/response cycle and can be used by views to authorize inlined script blocks. |
|
boolean |
Sets whether |
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
boolean |
Enable {@link SecurityViewModelProcessor}. Default value (true). |
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
Micronaut Views Fieldset Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
The view name for a field of type input checkbox. |
|
java.lang.String |
The view name for a field of type input date. |
|
java.lang.String |
The view name for a field of type input datetime-local. |
|
java.lang.String |
The view name for a field of type input email. |
|
java.lang.String |
The view name for a field of type input hidden. |
|
java.lang.String |
The view name for a field of type input number. |
|
java.lang.String |
The view name for a field of type input password. |
|
java.lang.String |
The view name for a field of type input radio. |
|
java.lang.String |
The view name for a field of type input submit. |
|
java.lang.String |
The view name for a field of type input tel. |
|
java.lang.String |
The view name for a field of type input text. |
|
java.lang.String |
The view name for a field of type input time. |
|
java.lang.String |
The view name for a field of type input url. |
|
java.lang.String |
The view name to render an option html element. |
|
java.lang.String |
The view name for a field of type select. |
|
java.lang.String |
The view name to render a textarea html element. |
|
java.lang.String |
The view name for a field of type trix-editor. |
Property | Type | Description |
---|---|---|
|
boolean |
Enabled getter. |
Micronaut Views Freemarker Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
|
|
int |
|
|
java.util.Locale |
|
|
freemarker.core.CFormat |
|
|
java.util.TimeZone |
|
|
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.template.TemplateExceptionHandler |
|
|
freemarker.template.AttemptExceptionReporter |
|
|
freemarker.core.ArithmeticEngine |
|
|
freemarker.template.ObjectWrapper |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
freemarker.core.TemplateClassResolver |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
freemarker.core.TruncateBuiltinAlgorithm |
|
|
boolean |
|
|
boolean |
|
|
boolean |
|
|
java.lang.Boolean |
|
|
java.util.Map |
|
|
java.util.List |
|
|
boolean |
|
|
java.util.Properties |
|
|
freemarker.cache.TemplateLoader |
|
|
freemarker.cache.TemplateLookupStrategy |
|
|
freemarker.cache.TemplateNameFormat |
|
|
freemarker.cache.TemplateConfigurationFactory |
|
|
freemarker.cache.CacheStorage |
|
|
java.io.File |
|
|
int |
|
|
long |
|
|
boolean |
|
|
java.lang.String |
|
|
boolean |
|
|
int |
|
|
freemarker.core.OutputFormat |
|
|
java.util.Collection |
|
|
boolean |
|
|
int |
|
|
int |
|
|
int |
|
|
int |
|
|
boolean |
|
|
java.lang.String |
|
|
java.util.Map |
|
|
java.util.Map |
|
|
freemarker.template.TemplateHashModelEx |
|
|
boolean |
|
|
boolean |
Whether freemarker views are enabled. |
|
java.lang.String |
|
|
freemarker.template.Version |
Micronaut Views Handlebars Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
enabled getter. |
|
java.lang.String |
Micronaut Views Jte Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether to enable dynamic reloading of templates. Default value (false). |
|
java.lang.String |
Root directory under which to write generated source and class files. . Default value ("build/jte-classes"). |
|
java.lang.String |
When using dynamic templates, the root source directory to search. If not specified, jte will search src/<sourceset>/jte and src/<sourceset>/resources/<folder> where 'folder' is ViewsConfiguration.getFolder(). In cases where the source directory cannot be found, jte will use classpath loading instead, and will not dynamically reload templates. |
|
boolean |
Enable building binary content for templates. Default value (false). (Only has an effect when 'dynamic' is true. To use with precompiled templates, enable it in the build plugin) |
Micronaut Views Pebble Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Sets whether the component is enabled. Default value (true). |
|
java.lang.String |
The default extension. Default value ("html"). |
|
boolean |
Enable/disable all caches, i.e. cache used by the engine to store compiled PebbleTemplate instances and tags cache. Default value (true). |
|
boolean |
Changes the newLineTrimming setting of the PebbleEngine. By default, Pebble will trim a new line that immediately follows a Pebble tag. If set to false, then the first newline following a Pebble tag won’t be trimmed. All newlines will be preserved. Default value (true). |
|
boolean |
Sets whether or not escaping should be performed automatically. Default value (true). |
|
java.lang.String |
Sets the default escaping strategy of the built-in escaper extension. Default value (EscapeFilter.HTML_ESCAPE_STRATEGY). |
|
boolean |
Changes the strictVariables setting of the PebbleEngine. Default value (false). |
|
boolean |
Enable/disable greedy matching mode for finding java method. Default is disabled. If enabled, when can not find perfect method (method name, parameter length and parameter type are all satisfied), reduce the limit of the parameter type, try to find other method which has compatible parameter types. Default value (false). |
|
boolean |
Sets whether or not core operators overrides should be allowed. Default value (false). |
|
boolean |
Enable/disable treat literal decimal as Integer. Default value (false), treated as Long. |
|
boolean |
Enable/disable treat literal numbers as BigDecimals. Default value (false), treated as Long/Double. |
Micronaut Views Rocker Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Enabled getter. |
|
java.lang.String |
|
|
boolean |
Hot reloading getter. |
|
boolean |
Relaxed binding getter. |
Micronaut Views Soy Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
Whether Soy-backed views are enabled. Default value |
|
boolean |
Specifies whether renaming is enabled. Defaults to |
Micronaut Views Thymeleaf Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
org.thymeleaf.templatemode.TemplateMode |
|
|
java.lang.String |
|
|
boolean |
|
|
boolean |
|
|
long |
|
|
boolean |
|
|
boolean |
|
|
boolean |
enabled getter. |
|
java.time.Duration |
Sets the cache TTL as a duration. |
Micronaut Views Velocity Config Properties
🔗Property | Type | Description |
---|---|---|
|
boolean |
enabled getter. |
|
java.lang.String |