类 IncludePlaceDirective

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

@Component public class IncludePlaceDirective extends AbstractTemplateDirective
includePlace 包含页面片段指令

参数列表

parameter list

パラメータリスト

  • path:路径

打印包含结果

使用示例

usage example

使用例

<@tools.includePlace path='00000000-0000-0000-0000-000000000000'/>

<script>
 $.getJSON('${site.dynamicPath}api/directive/tools/includePlace?path=00000000-0000-0000-0000-000000000000.html&appToken=接口访问授权Token', function(data){
   console.log(data);
 });
 </script>
 
  • 字段详细资料

  • 构造器详细资料

    • IncludePlaceDirective

      public IncludePlaceDirective()
  • 方法详细资料