@groovy.transform.CompileStatic @TagLib class SitemeshTagLib extends java.lang.Object implements RequestConstants, TagLibrary
Internal Sitemesh pre-processor tags.
Modifiers | Name | Description |
---|---|---|
protected static java.lang.String |
GSP_SITEMESH_PAGE |
Type | Name and description |
---|---|
groovy.lang.Closure |
captureBody Captures the <body> tag. |
groovy.lang.Closure |
captureContent Captures the individual <content> tags. |
groovy.lang.Closure |
captureHead Captures the <head> tag. |
groovy.lang.Closure |
captureMeta Captures the individual <meta> tags. |
groovy.lang.Closure |
captureTitle Captures the <title> tag. |
CodecLookup |
codecLookup |
static java.lang.String |
namespace |
groovy.lang.Closure |
parameter Allows passing of parameters to Sitemesh layout. |
groovy.lang.Closure |
wrapTitleTag Wraps the title tag so that the buffer can be cleared out from the head buffer |
Constructor and description |
---|
SitemeshTagLib
() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Object |
captureTagContent(GrailsPrintWriter writer, java.lang.String tagname, java.util.Map attrs, java.lang.Object body, boolean noEndTagForEmpty) |
|
protected GSPSitemeshPage |
findGSPSitemeshPage(HttpServletRequest request) |
|
StreamCharBuffer |
wrapContentInBuffer(java.lang.Object content) |
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() |
Captures the <body> tag.
Captures the individual <content> tags.
Captures the <head> tag.
Captures the individual <meta> tags.
Captures the <title> tag.
Allows passing of parameters to Sitemesh layout.
<sitemesh:parameter name="foo" value="bar" />
Wraps the title tag so that the buffer can be cleared out from the head buffer
Groovy Documentation