org.codehaus.groovy.grails.web.sitemesh
Class SpringMVCViewDecorator

java.lang.Object
  extended by com.opensymphony.module.sitemesh.mapper.DefaultDecorator
      extended by org.codehaus.groovy.grails.web.sitemesh.SpringMVCViewDecorator
All Implemented Interfaces:
com.opensymphony.module.sitemesh.Decorator

public class SpringMVCViewDecorator
extends com.opensymphony.module.sitemesh.mapper.DefaultDecorator
implements com.opensymphony.sitemesh.Decorator

Encapsulates the logic for rendering a layout.

Since:
2.0

Field Summary
 
Fields inherited from class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
name, page, parameters, role, uriPath
 
Constructor Summary
SpringMVCViewDecorator(java.lang.String name, org.springframework.web.servlet.View view)
           
 
Method Summary
 void render(com.opensymphony.sitemesh.Content content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext servletContext)
           
 void render(com.opensymphony.sitemesh.Content content, com.opensymphony.sitemesh.SiteMeshContext context)
           
 
Methods inherited from class com.opensymphony.module.sitemesh.mapper.DefaultDecorator
getInitParameter, getInitParameterNames, getName, getPage, getRole, getURIPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringMVCViewDecorator

public SpringMVCViewDecorator(java.lang.String name,
                              org.springframework.web.servlet.View view)
Method Detail

render

public void render(com.opensymphony.sitemesh.Content content,
                   com.opensymphony.sitemesh.SiteMeshContext context)

render

public void render(com.opensymphony.sitemesh.Content content,
                   javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   javax.servlet.ServletContext servletContext)