@groovy.transform.CompileStatic trait GenericViewConfiguration
Default configuration
Type | Name and description |
---|---|
boolean |
allowResourceExpansion Whether resource expansion is allowed |
java.lang.Class |
baseTemplateClass The template base class |
boolean |
cache Whether the cache templates |
boolean |
compileStatic Whether to compile templates statically |
boolean |
enableReloading Whether to enable reloading |
java.lang.String |
encoding The encoding to use |
java.lang.String |
extension The file extension of the templates |
java.lang.String[] |
packageImports The default package imports |
java.lang.String |
packageName The package name to use |
boolean |
prettyPrint Whether to pretty print |
java.lang.String[] |
staticImports The default static imports |
java.lang.String |
templatePath The path to the templates |
boolean |
useAbsoluteLinks Whether to use absolute links |
Type | Name and description |
---|---|
java.lang.String[] |
findUniquePackages(grails.core.GrailsClass[] grailsClasses) |
java.beans.PropertyDescriptor[] |
findViewConfigPropertyDescriptor() |
void |
readConfiguration(java.io.File configFile) |
void |
readConfiguration(grails.config.ConfigMap config) |
void |
setGrailsApplication(grails.core.GrailsApplication grailsApplication) |
Whether resource expansion is allowed
The template base class
Whether the cache templates
Whether to compile templates statically
Whether to enable reloading
The encoding to use
The file extension of the templates
The default package imports
The package name to use
Whether to pretty print
The default static imports
The path to the templates
Whether to use absolute links