CONTROL.html.ftl 495 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<view_${ctrl.getName()} 
    :viewState="viewState"  
    :viewparams="viewparams" 
    :context="JSON.parse(JSON.stringify(context))" 
    :isEnableCustomized = "${ctrl.isEnableCustomized()?c}"
    name="${ctrl.name}"  
    ref='${ctrl.name}' 
    <#if ctrl.getHookEventNames()??>
    <#list ctrl.getHookEventNames() as eventName>
    @${eventName?lower_case}="${ctrl.name}_${eventName?lower_case}($event)"  
    </#list>
    </#if>
    @closeview="closeView($event)">
</view_${ctrl.getName()}>