@Trait @CompileStatic trait TagLibrary extends Object implements ServletAttributes, TagLibraryInvoker, WebAttributes
A trait that makes a class into a GSP tag library
Type | Name and description |
---|---|
GrailsPrintWriter |
out |
Type Params | Return Type | Name and description |
---|---|---|
|
GrailsPrintWriter |
getOut() Obtains the currently output writer |
|
TemplateVariableBinding |
getPageScope() Obtains the page scope instance |
|
String |
getTaglibNamespace() |
|
void |
initializeTagLibrary() |
|
Object |
propertyMissing(String name) Property missing implementation that looks up tag library namespaces or tags in the default namespace |
|
Object |
raw(Object value) |
|
void |
setOut(Writer newOut) Sets the current output writer |
|
void |
throwTagError(String message) Throws a GrailsTagException |
Obtains the currently output writer
Obtains the page scope instance
Property missing implementation that looks up tag library namespaces or tags in the default namespace
name
- The property nameSets the current output writer
newOut
- The new output writerThrows a GrailsTagException
message
- The error message