org.codehaus.groovy.grails.web.pages
Class SitemeshPreprocessor

java.lang.Object
  extended by org.codehaus.groovy.grails.web.pages.SitemeshPreprocessor

public class SitemeshPreprocessor
extends java.lang.Object

Adds GSP Sitemesh integration directly to compiled GSP. head, meta, title, body and content tags are replaced with ... taglibs The taglib is used to capture the content of each tag. This prevents the need to parse the content output like Sitemesh normally does.


Field Summary
static java.lang.String XML_CLOSING_FOR_EMPTY_TAG_ATTRIBUTE_NAME
           
 
Constructor Summary
SitemeshPreprocessor()
           
 
Method Summary
 java.lang.String addGspSitemeshCapturing(java.lang.String gspSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_CLOSING_FOR_EMPTY_TAG_ATTRIBUTE_NAME

public static final java.lang.String XML_CLOSING_FOR_EMPTY_TAG_ATTRIBUTE_NAME
See Also:
Constant Field Values
Constructor Detail

SitemeshPreprocessor

public SitemeshPreprocessor()
Method Detail

addGspSitemeshCapturing

public java.lang.String addGspSitemeshCapturing(java.lang.String gspSource)