<#-- ctrl document  -->
<view_${ctrl.getName()} 
    :viewState="viewState"
    loadAction='get'  
    name='${ctrl.name}' 
    ref='${ctrl.name}' 
    :viewparams="viewparams" 
    :context="context"
    <#if ctrl.getHookEventNames()??>
    <#list ctrl.getHookEventNames() as eventName>
    @${eventName?lower_case}="${ctrl.name}_${eventName?lower_case}($event)"
    </#list>
    </#if>
    @closeview="closeView($event)">
    <#if view.hasPSControl('form')>
    ${P.getCtrlCode('form', 'CONTROL.html').code}
    </#if>
</view_${ctrl.getName()}>