<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: gaoyang $Date: 2013-7-4 下午02:14:22 $Revision: 1.0 $Purpose: --> <a:screen xmlns:c="leaf.application.action" xmlns:s="leaf.plugin.script" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" customizationEnabled="true" trace="true"> <a:init-procedure> <a:model-query fetchAll="true" model="hls.HLS030.hls_doc_layout_tree_parent_tree_code" rootPath="prj_layout_tree_node_path"/> </a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ ]]></script> <a:screenBody> <a:placeHolder id="dynamicTreeNode_id"/> </a:screenBody> </a:view> <a:view-config> <c:create-config targetId="dynamicTreeNode_id"> <p:loop source="/model/prj_layout_tree_node_path"> <p:switch test="@first_tree_flag"> <p:case value="Y"> <c:process-config> <div id="${@tree_code}_node_id" style="overflow:auto;position:absolute;display:none;left:0;top:0"> <a:screen-include screen="modules/prj/PRJ500/prj_project_create_tree_detail.lview?tree_code=${@tree_code}&layout_code=${@layout_code}&document_id=${/parameter/@document_id}&document_category=${/parameter/@document_category}&document_type=${/parameter/@document_type}&winid=${/parameter/@winid}&_vh=${/parameter/@_vh}&_vw=${/parameter/@_vw}&number_of_tenant=${/parameter/@number_of_tenant}&number_of_guarantor=${/parameter/@number_of_guarantor}&number_of_actual_controller=${/parameter/@number_of_actual_controller}&number_of_quotation=${/parameter/@number_of_quotation}&function_usage=${/parameter/@function_usage}&function_code=${/parameter/@function_code}&cdd_list_id=${/parameter/@cdd_list_id}&calc_type=${/parameter/@calc_type}&maintain_type=${/parameter/@maintain_type}&declare_flag=${/parameter/@declare_flag}&default_value_dsid=${/parameter/@default_value_dsid}"/> <script type="text/javascript"><![CDATA[ var cp = page['${/parameter/@tree_code}'].childPage; if(!cp){ cp = page['${/parameter/@tree_code}'].childPage=[]; } cp.push('${@tree_code}'); Ext.get('${@tree_code}_node_id').isLoaded = true; ]]></script> </div> </c:process-config> </p:case> <p:case value="N"> <c:process-config> <div id="${@tree_code}_node_id" style="overflow:auto;position:absolute;display:none;left:0;top:0"> <script type="text/javascript"><![CDATA[ var cp = page['${/parameter/@tree_code}'].childPage; if(!cp){ cp = page['${/parameter/@tree_code}'].childPage=[]; } cp.push('${@tree_code}'); Ext.get('${@tree_code}_node_id').isLoaded = false; ]]></script> </div> </c:process-config> </p:case> </p:switch> </p:loop> </c:create-config> </a:view-config> </a:screen>