SPMRT01100_과색인선택.xrw 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>°ú»öÀÎ</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <deptindxlist>
  11. <item>
  12. <depth/>
  13. <deptindxcd/>
  14. <deptupindxcd/>
  15. <deptindxnm/>
  16. </item>
  17. </deptindxlist>
  18. </main>
  19. <send/>
  20. <hidden>
  21. <selectedindxcd/>
  22. </hidden>
  23. <init>
  24. </init>
  25. </root>
  26. </instance>
  27. <bind id="icdo3_stat" ref="/root/main/icdo3info/icdo3list/stat" readonly="&quot;true&quot;"/>
  28. <bind id="kcd4m_stat" ref="/root/main/kcd4minfo/kcd4mlist/stat" readonly="&quot;true&quot;"/>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. model.makeValue("/root/send/indxflag", opener.javascript.getParameter("indxflag"));
  32. model.makeValue("/root/send/deptcd", opener.javascript.getParameter("deptcd"));
  33. submit("TRMRT01101");
  34. ]]>
  35. </script>
  36. <submission id="TRMRT01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/deptindxlist"/>
  37. </model>
  38. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. </xhtml:head>
  41. <xhtml:body pagewidth="600" pageheight="650" guideline="1,5;1,1186;2,9;2,23;2,18;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  42. <group id="grp_body" scroll="auto" style="left:0px; top:0px; width:535px; height:643px; ">
  43. <button id="btn_select" class="btn4_letter2" style="left:417px; top:618px; width:56px; height:22px; ">
  44. <caption>¼±ÅÃ</caption>
  45. <script type="javascript" ev:event="DOMActivate">
  46. <![CDATA[
  47. var sSelectedIndxCd = model.getValue("/root/hidden/selectedindxcd");
  48. opener.javascript.setParameter("indxcd", sSelectedIndxCd);
  49. opener.javascript.setParameter("indxnm", model.getValue("/root/main/deptindxlist/item[deptindxcd='"+sSelectedIndxCd+"']/deptindxnm"));
  50. model.close();
  51. ]]>
  52. </script>
  53. </button>
  54. <button id="btn_close" class="btn4_letter2" style="left:476px; top:618px; width:56px; height:22px; ">
  55. <caption>´Ý±â</caption>
  56. <script type="javascript" ev:event="DOMActivate">
  57. <![CDATA[
  58. model.close();
  59. ]]>
  60. </script>
  61. </button>
  62. <caption id="caption19" class="cell_1" style="left:0px; top:1px; width:535px; height:23px; text-align:center; vertical-align:middle; ">»öÀθí</caption>
  63. <treeview id="trv_dgindx" ref="/root/hidden/selectedindxcd" itemsettype="depth" style="left:0px; top:21px; width:535px; height:595px; ">
  64. <itemset nodeset="/root/main/deptindxlist/item">
  65. <label ref="deptindxnm"/>
  66. <value ref="deptindxcd"/>
  67. <depth ref="depth"/>
  68. </itemset>
  69. <script type="javascript" ev:event="ondblclick">
  70. <![CDATA[
  71. var sSelectedIndxCd = model.getValue("/root/hidden/selectedindxcd");
  72. opener.javascript.setParameter("indxcd", sSelectedIndxCd);
  73. opener.javascript.setParameter("indxnm", model.getValue("/root/main/deptindxlist/item[deptindxcd='"+sSelectedIndxCd+"']/deptindxnm"));
  74. model.close();
  75. ]]>
  76. </script>
  77. </treeview>
  78. </group>
  79. </xhtml:body>
  80. </xhtml:html>