public class Sitemesh3RenderViewMutator extends java.lang.Object implements GrailsRenderViewMutator
Unwraps the SiteMesh decorating view for partial renders. A controller's
render template: resolves its view through the same view-resolver
chain as full views, so the resolved view arrives wrapped in a
SiteMeshView. Partials must not be decorated with a layout (matching
the SiteMesh 2 plugin's GrailsLayoutRenderViewMutator, which unwraps
its EmbeddedGrailsLayoutView in the same situation), so the inner
view is rendered directly. When an explicit layout was requested
(render template: 'x', layout: 'y') the wrapping is kept and the
layout is applied as usual.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public View |
mutateView(boolean renderWithLayout, java.lang.String templateUri, java.util.Locale locale, View existingView) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |