org.codehaus.groovy.grails.web.pages
Class SitemeshPreprocessor
java.lang.Object
org.codehaus.groovy.grails.web.pages.SitemeshPreprocessor
public class SitemeshPreprocessor
- extends Object
This class is used to add 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.
- Author:
- Lari Hotari, Sagire Software Oy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parameterPattern
Pattern parameterPattern
metaPattern
Pattern metaPattern
titlePattern
Pattern titlePattern
headPattern
Pattern headPattern
bodyPattern
Pattern bodyPattern
contentPattern
Pattern contentPattern
XML_CLOSING_FOR_EMPTY_TAG_ATTRIBUTE_NAME
public static final String XML_CLOSING_FOR_EMPTY_TAG_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
SitemeshPreprocessor
public SitemeshPreprocessor()
addGspSitemeshCapturing
public String addGspSitemeshCapturing(String gspSource)
addHeadCapturing
StringBuffer addHeadCapturing(String gspSource)
addMetaCapturing
String addMetaCapturing(String headContent)
addTitleCapturing
String addTitleCapturing(String headContent)
addBodyCapturing
StringBuffer addBodyCapturing(StringBuffer sb)
addContentCapturing
StringBuffer addContentCapturing(StringBuffer sb)
Copyright (c) 2005-2009 The Grails project