@groovy.transform.CompileStatic trait GenericViewConfiguration
Default configuration
| Type | Name and description |
|---|---|
boolean |
allowResourceExpansionWhether resource expansion is allowed |
java.lang.Class |
baseTemplateClassThe template base class |
boolean |
cacheWhether the cache templates |
boolean |
compileStaticWhether to compile templates statically |
boolean |
enableReloadingWhether to enable reloading |
java.lang.String |
encodingThe encoding to use |
java.lang.String |
extensionThe file extension of the templates |
java.lang.String[] |
packageImportsThe default package imports |
java.lang.String |
packageNameThe package name to use |
boolean |
prettyPrintWhether to pretty print |
java.lang.String[] |
staticImportsThe default static imports |
java.lang.String |
templatePathThe path to the templates |
boolean |
useAbsoluteLinksWhether to use absolute links |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String[] |
findUniquePackages(GrailsClass[] grailsClasses) |
|
void |
readConfiguration(java.io.File configFile) |
|
void |
readConfiguration(ConfigMap config) |
|
void |
setGrailsApplication(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