Class ExternalDispatchedDecorator
- java.lang.Object
-
- com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
-
- com.opensymphony.sitemesh.webapp.decorator.DispatchedDecorator
-
- com.opensymphony.sitemesh.webapp.decorator.ExternalDispatchedDecorator
-
- All Implemented Interfaces:
Decorator
public class ExternalDispatchedDecorator extends DispatchedDecorator
Decorator that dispatches to another path in A DIFFERENT WEB-APP in the same Servlet Container (such as a JSP or path mapped to a Servlet). The Content and SiteMeshContext objects are passed to the decorator using the HttpServletRequest attributesDispatchedDecorator.CONTENT_KEY
andDispatchedDecorator.CONTEXT_KEY
. To dispatch to a decorator in the same web-app, useDispatchedDecorator
.- Since:
- SiteMesh 3.0
- Author:
- Joe Walnes
-
-
Field Summary
Fields Modifier and Type Field Description private String
webApp
-
Fields inherited from class com.opensymphony.sitemesh.webapp.decorator.DispatchedDecorator
CONTENT_KEY, CONTEXT_KEY
-
-
Constructor Summary
Constructors Constructor Description ExternalDispatchedDecorator(String path, String webApp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.servlet.ServletContext
locateWebApp(javax.servlet.ServletContext context)
-
Methods inherited from class com.opensymphony.sitemesh.webapp.decorator.DispatchedDecorator
render
-
Methods inherited from class com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator
render
-
-
-
-
Field Detail
-
webApp
private final String webApp
-
-
Method Detail
-
locateWebApp
protected javax.servlet.ServletContext locateWebApp(javax.servlet.ServletContext context)
- Overrides:
locateWebApp
in classDispatchedDecorator
-
-