public class RegionDirectiveData
extends org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveData
Overrides the default DefaultExtensibilityDirectiveData to provide a new render method
to use the RenderService to render the specified region
| Modifier and Type | Field and Description |
|---|---|
static String |
CHROME_ID |
static String |
CHROMELESS |
static String |
REGION_ID |
static String |
SCOPE_ID |
| Constructor and Description |
|---|
RegionDirectiveData(String id,
String action,
String target,
String directiveName,
Map<String,Object> params,
RenderService renderService,
RequestContext context,
freemarker.template.TemplateDirectiveBody body,
freemarker.core.Environment env) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(org.springframework.extensions.surf.extensibility.impl.ModelWriter writer) |
public static final String REGION_ID
public static final String CHROME_ID
public static final String SCOPE_ID
public static final String CHROMELESS
public RegionDirectiveData(String id, String action, String target, String directiveName, Map<String,Object> params, RenderService renderService, RequestContext context, freemarker.template.TemplateDirectiveBody body, freemarker.core.Environment env) throws freemarker.template.TemplateException
freemarker.template.TemplateExceptionpublic void render(org.springframework.extensions.surf.extensibility.impl.ModelWriter writer)
throws freemarker.template.TemplateException,
IOException
render in interface org.springframework.extensions.surf.extensibility.ExtensibilityDirectiveDatarender in class org.springframework.extensions.surf.extensibility.impl.DefaultExtensibilityDirectiveDatafreemarker.template.TemplateExceptionIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.