public class GroovyPageLayoutFinder
Provides the logic for GrailsLayoutDecoratorMapper without so many ties to the Sitemesh API.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
LAYOUT_ATTRIBUTE |
|
static java.lang.String |
NONE_LAYOUT |
|
static java.lang.String |
RENDERING_VIEW_ATTRIBUTE |
Type Params | Return Type | Name and description |
---|---|---|
|
public Decorator |
findLayout(HttpServletRequest request, Content page) |
|
public Decorator |
findLayout(HttpServletRequest request, Page page) |
|
protected Decorator |
getApplicationDefaultDecorator(HttpServletRequest request) |
|
public Decorator |
getNamedDecorator(HttpServletRequest request, java.lang.String name) |
|
public Decorator |
getNamedDecorator(HttpServletRequest request, java.lang.String name, boolean viewMustExist) |
|
public int |
getOrder() |
|
public void |
onApplicationEvent(ContextRefreshedEvent event) |
|
public void |
setCacheEnabled(boolean cacheEnabled) |
|
public void |
setDefaultDecoratorName(java.lang.String defaultDecoratorName) |
|
public void |
setEnableNonGspViews(boolean enableNonGspViews) |
|
public void |
setGspReloadEnabled(boolean gspReloadEnabled) |
|
public void |
setViewResolver(ViewResolver viewResolver) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |