@Component public class IncludeRegionDirective extends AbstractTemplateDirective
参数列表
id
:布局id
打印包含结果
使用示例
<@tools.includeRegion id='00000000-0000-0000-0000-000000000000' categoryId=1/>
限定符和类型 | 字段和说明 |
---|---|
private DiyComponent |
diyComponent |
ADVANCED, AUTH_TOKEN, AUTH_USER_ID, siteComponent
log
构造器和说明 |
---|
IncludeRegionDirective() |
限定符和类型 | 方法和说明 |
---|---|
void |
execute(freemarker.core.Environment environment,
java.util.Map parameters,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody templateDirectiveBody) |
void |
execute(RenderHandler handler) |
boolean |
httpEnabled() |
execute, expose, getAdvanced, getApp, getSite, getUserId, needAppToken, needUserToken, supportAdvanced
getName, getNamespace, getShortName, setName, setNamespace, setShortName
private DiyComponent diyComponent
public void execute(freemarker.core.Environment environment, java.util.Map parameters, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody templateDirectiveBody) throws freemarker.template.TemplateException, java.io.IOException
execute
在接口中 freemarker.template.TemplateDirectiveModel
execute
在类中 BaseTemplateDirective
freemarker.template.TemplateException
java.io.IOException
public boolean httpEnabled()
httpEnabled
在类中 BaseTemplateDirective
public void execute(RenderHandler handler) throws java.io.IOException, freemarker.template.TemplateException
java.io.IOException
freemarker.template.TemplateException