public class GroovyPageLayoutFinder
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LAYOUT_ATTRIBUTE |
static java.lang.String |
NONE_LAYOUT |
static java.lang.String |
RENDERING_VIEW_ATTRIBUTE |
| Constructor and Description |
|---|
GroovyPageLayoutFinder() |
| Modifier and Type | Method and Description |
|---|---|
com.opensymphony.module.sitemesh.Decorator |
findLayout(javax.servlet.http.HttpServletRequest request,
com.opensymphony.sitemesh.Content page) |
com.opensymphony.module.sitemesh.Decorator |
findLayout(javax.servlet.http.HttpServletRequest request,
com.opensymphony.module.sitemesh.Page page) |
protected com.opensymphony.module.sitemesh.Decorator |
getApplicationDefaultDecorator(javax.servlet.http.HttpServletRequest request) |
com.opensymphony.module.sitemesh.Decorator |
getNamedDecorator(javax.servlet.http.HttpServletRequest request,
java.lang.String name) |
com.opensymphony.module.sitemesh.Decorator |
getNamedDecorator(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean viewMustExist) |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setCacheEnabled(boolean cacheEnabled) |
void |
setDefaultDecoratorName(java.lang.String defaultDecoratorName) |
void |
setEnableNonGspViews(boolean enableNonGspViews) |
void |
setGspReloadEnabled(boolean gspReloadEnabled) |
void |
setViewResolver(org.springframework.web.servlet.ViewResolver viewResolver) |
public static final java.lang.String LAYOUT_ATTRIBUTE
public static final java.lang.String NONE_LAYOUT
public static final java.lang.String RENDERING_VIEW_ATTRIBUTE
public void setDefaultDecoratorName(java.lang.String defaultDecoratorName)
public void setEnableNonGspViews(boolean enableNonGspViews)
public void setGspReloadEnabled(boolean gspReloadEnabled)
public void setCacheEnabled(boolean cacheEnabled)
public void setViewResolver(org.springframework.web.servlet.ViewResolver viewResolver)
public com.opensymphony.module.sitemesh.Decorator findLayout(javax.servlet.http.HttpServletRequest request,
com.opensymphony.sitemesh.Content page)
public com.opensymphony.module.sitemesh.Decorator findLayout(javax.servlet.http.HttpServletRequest request,
com.opensymphony.module.sitemesh.Page page)
protected com.opensymphony.module.sitemesh.Decorator getApplicationDefaultDecorator(javax.servlet.http.HttpServletRequest request)
public com.opensymphony.module.sitemesh.Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
public com.opensymphony.module.sitemesh.Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
boolean viewMustExist)
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>