<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: gaoyang $Date: 2013-6-24 下午07:14:16 $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 defaultWhereClause="((t1.tab_group=${/parameter/@tab_group} and nvl(t1.parent_tab_code,'-999')=nvl(${/parameter/@parent_tab_code},'-999') and nvl(${/parameter/@tab_tab_code},'-999')='-999') or (nvl(${/parameter/@tab_tab_code},'-999')=t1.tab_code)) and t1.tab_type='TAB' and t1.enabled_flag='Y'" fetchAll="true" model="cont.CON500.con_hls_doc_layout_tab_query" rootPath="tabpanel_layout_type_path"/> </a:init-procedure> <a:view> <script type="text/javascript"><![CDATA[ ]]></script> <a:tabPanel height="${/model/tabpanel_layout_type_path/record/@height}" marginHeight="${/model/tabpanel_layout_type_path/record/@margin_height}" marginWidth="${/model/tabpanel_layout_type_path/record/@margin_width}" width="${/model/tabpanel_layout_type_path/record/@width}"> <a:tabs> <a:placeHolder id="dynamicLayoutTablePanel_id"/> </a:tabs> </a:tabPanel> </a:view> <a:view-config> <c:create-config targetId="dynamicLayoutTablePanel_id"> <p:loop source="/model/tabpanel_layout_type_path"> <p:switch test="@tab_type"> <p:case value="TAB"> <c:process-config> <a:tab prompt="${@tab_desc}" width="100"> <a:screen-include screen="modules/cont/CON500/con_contract_update.lview?tab_tab_code=${@tab_code}&layout_code=${/parameter/@layout_code}&document_id=${/parameter/@document_id}&document_category=${/parameter/@document_category}&document_type=${/parameter/@document_type}&winid=${/parameter/@winid}&function_code=${/parameter/@function_code}&function_usage=${/parameter/@function_usage}&maintain_type=${/parameter/@maintain_type}&calc_type=${/parameter/@calc_type}&cdd_list_id=${/parameter/@cdd_list_id}&default_value_dsid=${/parameter/@default_value_dsid}"/> </a:tab> </c:process-config> </p:case> </p:switch> </p:loop> </c:create-config> </a:view-config> </a:screen>