123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>»öÀμ±ÅÃ</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <indxlist>
- <item>
- <depth/>
- <indxcd/>
- <upindxcd/>
- <indxhngnm/>
- <pathcd/>
- <pathnm/>
- </item>
- </indxlist>
- </main>
- <hidden>
- <condition>
- <indxflag>0</indxflag>
- <selectedindx/>
- <getdata/>
- <indxhngnm/>
- <selectedmode/>
- <indxuseflag/>
- </condition>
- </hidden>
- <send>
- </send>
- <init>
- <today/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- // Edited by NJ 2007-07-24 getDate() -> getCurrentDate()
- //model.setValue("/root/init/today", getDate());
- model.setValue("/root/init/today", getCurrentDate());
- if(checkOpener()){
- model.setValue("/root/hidden/condition/indxflag", model.getValue("/root/hidden/condition/getdata/paramindx"));
- model.setValue("/root/hidden/condition/selectedmode", model.getValue("/root/hidden/condition/getdata/parammode"));
- model.setValue("/root/hidden/condition/indxuseflag", model.getValue("/root/hidden/condition/getdata/paramindxuseflag"));
- }
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/indxflag","");
- model.makeValue("/root/send/mode","");
- model.makeValue("/root/send/indxuseflag","");
- model.setValue("/root/send/indxflag", model.getValue("/root/hidden/condition/indxflag"));
- model.setValue("/root/send/mode", model.getValue("/root/hidden/condition/selectedmode"));
- model.setValue("/root/send/indxuseflag", model.getValue("/root/hidden/condition/indxuseflag"));
- submit("TRMRT00101");
- ]]>
- </script>
- <submission id="TRMRT00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/indxlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/termmngtweb/js/SMMRT00100.js"/>
- <script type="javascript" src="../../../emr/termmngtweb/js/MRTCommon.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="551" pageheight="725" guideline="1,15;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group2" style="left:0px; top:0px; width:535px; height:725px; vertical-align:top; ">
- <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:535px; y2:0px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:721px; x2:535px; y2:721px; "/>
- <caption id="caption19" class="cell_1" style="left:0px; top:6px; width:535px; height:23px; text-align:center; vertical-align:middle; ">»öÀθí</caption>
- <treeview id="trv_dgindx" ref="/root/main/indxlist/item" itemsettype="depth" style="left:0px; top:31px; width:535px; height:688px; ">
- <itemset nodeset="/root/main/indxlist/item">
- <label ref="indxhngnm"/>
- <value ref="indxcd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var iIndx = trv_dgindx.focusIndex + 1;
- var selIndxCd = model.getValue("/root/main/indxlist/item[" + iIndx + "]/indxcd");
- var selhngnm = model.getValue("/root/main/indxlist/item[" + iIndx + "]/indxhngnm");
- model.setValue("/root/hidden/condition/selectedindx", selIndxCd);
- model.setValue("/root/hidden/condition/indxhngnm", selhngnm);
-
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- opener.javascript.setParameter("setVal1", model.getValue("/root/hidden/condition/selectedindx"));
- opener.javascript.setParameter("setVal2", model.getValue("/root/hidden/condition/indxhngnm"));
- window.close();
- ]]>
- </script>
- </treeview>
- </group>
- </xhtml:body>
- </xhtml:html>
|