CONTROL.html.ftl 567 字节
Newer Older
tony001's avatar
tony001 committed
1 2 3 4
<view_${ctrl.getName()} 
    :viewState="viewState"  
    :viewparams="JSON.parse(JSON.stringify(viewparams))" 
    :context="JSON.parse(JSON.stringify(context))" 
5 6 7
    :isSingleSelect="isSingleSelect"
    :selectedData="selectedData"
    :isShowButton="isShowButton"
tony001's avatar
tony001 committed
8 9 10 11 12 13 14 15 16
    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()}>