@groovy.transform.Trait @groovy.transform.CompileStatic trait GenericViewConfiguration extends java.lang.Object implements GrailsApplicationAware, ViewConfiguration
Default configuration
Modifiers | Name | Description |
---|---|---|
private boolean |
allowResourceExpansion |
Whether resource expansion is allowed |
private java.lang.Class |
baseTemplateClass |
The template base class |
private boolean |
cache |
Whether the cache templates |
private boolean |
compileStatic |
Whether to compile templates statically |
private boolean |
enableReloading |
Whether to enable reloading |
private java.lang.String |
encoding |
The encoding to use |
private java.lang.String |
extension |
The file extension of the templates |
private java.lang.String[] |
packageImports |
The default package imports |
private java.lang.String |
packageName |
The package name to use |
private boolean |
prettyPrint |
Whether to pretty print |
private java.lang.String[] |
staticImports |
The default static imports |
private java.lang.String |
templatePath |
The path to the templates |
private boolean |
useAbsoluteLinks |
Whether to use absolute links |
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 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) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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
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