org.codehaus.groovy.grails.web.sitemesh
Class GrailsPageFilter
java.lang.Object
com.opensymphony.module.sitemesh.filter.PageFilter
org.codehaus.groovy.grails.web.sitemesh.GrailsPageFilter
- All Implemented Interfaces:
- com.opensymphony.module.sitemesh.RequestConstants, Filter
public class GrailsPageFilter
- extends com.opensymphony.module.sitemesh.filter.PageFilter
Extends the default page filter to overide the apply decorator behaviour
if the page is a GSP
- Since:
- Apr 19, 2006
- Author:
- Graeme Rocher
| Fields inherited from class com.opensymphony.module.sitemesh.filter.PageFilter |
factory |
| Fields inherited from interface com.opensymphony.module.sitemesh.RequestConstants |
DECORATOR, FILTER_APPLIED, PAGE, ROBOT, USING_STREAM |
| Methods inherited from class com.opensymphony.module.sitemesh.filter.PageFilter |
destroy, doFilter, getFilterConfig, parsePage, setFilterConfig, writeDecorator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrailsPageFilter
public GrailsPageFilter()
init
public void init(FilterConfig filterConfig)
- Specified by:
init in interface Filter- Overrides:
init in class com.opensymphony.module.sitemesh.filter.PageFilter
applyDecorator
protected void applyDecorator(com.opensymphony.module.sitemesh.Page page,
com.opensymphony.module.sitemesh.Decorator decorator,
HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
applyDecorator in class com.opensymphony.module.sitemesh.filter.PageFilter
- Throws:
ServletException
IOException
Copyright (c) 2005-2006 The Grails project