org.debux.webmotion.sitemesh
Class SiteMesh
java.lang.Object
org.debux.webmotion.server.WebMotionController
org.debux.webmotion.server.WebMotionFilter
org.debux.webmotion.sitemesh.SiteMesh
public class SiteMesh
- extends WebMotionFilter
Put the layouts in request attribute. Use by the filter to decorate page.
- Author:
- julien
|
Field Summary |
static String |
LAYOUTS
Attribute name to store the layout to decorate the page |
|
Method Summary |
void |
decorate(javax.servlet.http.HttpServletRequest request,
String layout)
Set the layout into the request. |
| Methods inherited from class org.debux.webmotion.server.WebMotionController |
getContext, renderAction, renderContent, renderContent, renderDownload, renderDownload, renderError, renderError, renderFailure, renderForward, renderForward, renderJSON, renderJSONP, renderLastPage, renderRedirect, renderStatus, renderStream, renderStream, renderStringTemplate, renderSuccess, renderTemplate, renderURL, renderView, renderXML, setContextable, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAYOUTS
public static final String LAYOUTS
- Attribute name to store the layout to decorate the page
- See Also:
- Constant Field Values
SiteMesh
public SiteMesh()
decorate
public void decorate(javax.servlet.http.HttpServletRequest request,
String layout)
- Set the layout into the request. Pass on the filter or the action. If
the layout is null or empty not layout is passed to SiteMesh.
- Parameters:
request - set layout into the requestlayout - the layout to apply on the view
Copyright © 2011-2012 Debux. All Rights Reserved.