类 CmsDictionaryExcludeListDirective
java.lang.Object
com.publiccms.common.directive.BaseTemplateDirective
com.publiccms.common.base.AbstractTemplateDirective
com.publiccms.views.directive.cms.CmsDictionaryExcludeListDirective
- 所有已实现的接口:
Directive
,HttpDirective
,freemarker.template.TemplateDirectiveModel
,freemarker.template.TemplateModel
dictionaryExcludeList 数据字典数据列表
参数列表
parameter list
パラメータリスト
dictionaryId
:字典idexcludeDictionaryId
:排除数据字典id
返回结果
list
:List类型 查询结果实体列表CmsDictionaryExclude
使用示例
usage example
使用例
<@cms.dictionaryExcludeList dictionaryId='data'><#list list as a>${a.id.excludeDictionaryId}<#sep>,</#list></@cms.dictionaryExcludeList>
<script> $.getJSON('${site.dynamicPath}api/directive/cms/dictionaryExcludeList?dictionaryId=1&parentValue=text', function(data){ console.log(data); }); </script>
-
字段概要
字段从类继承的字段 com.publiccms.common.base.AbstractTemplateDirective
ADVANCED, APP_TOKEN, AUTH_TOKEN, AUTH_USER_ID, siteComponent
从类继承的字段 com.publiccms.common.directive.BaseTemplateDirective
log
从接口继承的字段 freemarker.template.TemplateModel
NOTHING
-
构造器概要
构造器 -
方法概要
从类继承的方法 com.publiccms.common.base.AbstractTemplateDirective
execute, expose, getAdvanced, getApp, getSite, getUser, getUserId, needAppToken, needUserToken, supportAdvanced
从类继承的方法 com.publiccms.common.directive.BaseTemplateDirective
execute, getName, getNamespace, getShortName, httpEnabled, setName, setNamespace, setShortName
-
字段详细资料
-
service
-
-
构造器详细资料
-
CmsDictionaryExcludeListDirective
public CmsDictionaryExcludeListDirective()
-
-
方法详细资料
-
execute
public void execute(RenderHandler handler) throws IOException, freemarker.template.TemplateException - 参数:
handler
-- 抛出:
IOException
freemarker.template.TemplateException
-