public class IncludeTag extends RenderServiceTag
This class has been created to solve the problem of components rendering chrome that use
the regionInclude tag (resulting in an OutOfMemory exception) and regions rendering
chrome that use the componentInclude tag (resulting in an infinite loop).
The tags rely on the context being set to indicate the type of rendering being requested
(either component or region) and then applies the appropriate logic required. This means that if
componentInclude and regionInclude can be used interchangeably without
risk of error.
| Constructor and Description |
|---|
IncludeTag() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
invokeRenderService(RenderService renderService,
RequestContext renderContext,
ModelObject object)
This method should be implemented to invoke the required method of the
RenderService
that the subclass needs to render its output |
doStartTagInternaldoCatch, doFinally, doStartTag, getRequestContextprotected int invokeRenderService(RenderService renderService, RequestContext renderContext, ModelObject object) throws RequestDispatchException
RenderServiceTagThis method should be implemented to invoke the required method of the RenderService
that the subclass needs to render its output
invokeRenderService in class RenderServiceTagrenderService - RenderServicerenderContext - RequestContextobject - ModelObjectRequestDispatchExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.