类 CmsDictionaryExcludeListDirective

所有已实现的接口:
Directive, HttpDirective, freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

@Component public class CmsDictionaryExcludeListDirective extends AbstractTemplateDirective
dictionaryExcludeList 数据字典数据列表

参数列表

parameter list

パラメータリスト

  • dictionaryId:字典id
  • excludeDictionaryId:排除数据字典id

返回结果

使用示例

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>
 
  • 字段详细资料

  • 构造器详细资料

    • CmsDictionaryExcludeListDirective

      public CmsDictionaryExcludeListDirective()
  • 方法详细资料

    • execute

      public void execute(RenderHandler handler) throws IOException, freemarker.template.TemplateException
      参数:
      handler -
      抛出:
      IOException
      freemarker.template.TemplateException