SSCNS00300_채널그룹트리.xrw 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * Name : SSCNS00300_채널그룹트리
  4. * Summary : 채널그룹트리
  5. * Programmer : 최정환
  6. * Date Written : 2007.06.21
  7. * History : 2007.06.21
  8. * Remark : 데이터마이닝 그룹트리
  9. -->
  10. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  11. <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">
  12. <xhtml:head>
  13. <xhtml:title>Untitle</xhtml:title>
  14. <model id="model1">
  15. <instance id="instance1">
  16. <root xmlns="">
  17. <main>
  18. <chnltreeinfo>
  19. <chnltreelist>
  20. <msggrupnm/>
  21. <depth/>
  22. <msgmdlcd/>
  23. <msglrgcd/>
  24. <msgallcd/>
  25. </chnltreelist>
  26. </chnltreeinfo>
  27. </main>
  28. <send>
  29. <chnlsrch>
  30. <chnlmdlcd/>
  31. </chnlsrch>
  32. </send>
  33. </root>
  34. </instance>
  35. <submission id="TRCNS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" replace="instance" resultref="/root/main/chnltreeinfo"/>
  36. </model>
  37. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  38. <script type="javascript" ev:event="xforms-ready">
  39. <![CDATA[
  40. submit("TRCNS00301");
  41. ]]>
  42. </script>
  43. <script type="javascript">
  44. <![CDATA[
  45. // 그리드를 초기화한다.
  46. function fInitGrid(){
  47. model.removeNodeset("/root/main/chnltreeinfo/chnltreelist");
  48. submit("TRCNS00301");
  49. model.refresh();
  50. }
  51. ]]>
  52. </script>
  53. </xhtml:head>
  54. <xhtml:body guideline="1,230;1,230;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
  55. <group id="grp_tree" scroll="auto" style="left:0px; top:0px; width:215px; height:724px; ">
  56. <line id="lin_tree" class="line_1" nodeset="/root/main/chnlinfo/chnltreelist" style="x1:0px; y1:0px; x2:215px; y2:0px; "/>
  57. <treeview id="trv_leftmenu" ref="/root/send/chnlsrch/chnlmdlcd" expanddepth="2" fullrowselect="true" itemsettype="depth" style="left:0px; top:5px; width:215px; height:695px; ">
  58. <itemset nodeset="/root/main/chnltreeinfo/chnltreelist">
  59. <label ref="msggrupnm"/>
  60. <value ref="msgallcd"/>
  61. <depth ref="depth"/>
  62. </itemset>
  63. <script type="javascript" ev:event="xforms-select">
  64. <![CDATA[
  65. var grup_allcd = trv_leftmenu.value;
  66. var cd_index = grup_allcd.indexOf("/");
  67. var grup_lrgcd = grup_allcd.substring(0, cd_index);
  68. var grup_mdlcd = grup_allcd.substring(cd_index + 1);
  69. model.setValue("/root/main/msgtmpl/msglrgcd",grup_lrgcd);
  70. model.setValue("/root/main/msgtmpl/msgmdlcd",grup_mdlcd);
  71. model.setValue("/root/main/msgtmpl/msgsmlcd","");
  72. //저장 수정버튼 활성화 구분
  73. model.setValue("/root/main/msgtmpl/savemode", "I");
  74. fGetMsgStatus();
  75. if (grup_mdlcd > 0) {
  76. model.setValue("/root/send/data/mdlgrupcd", grup_mdlcd);
  77. submit("TRCNS00203");
  78. model.setValue("/root/send/data/mdlgrupcd", "");
  79. //메인 초기화
  80. fInitiate();
  81. }
  82. ]]>
  83. </script>
  84. </treeview>
  85. <button id="btn_tree" class="btn2_letter4" style="left:151px; top:703px; width:64px; height:19px; ">
  86. <caption>그룹관리</caption>
  87. <script type="javascript" ev:event="onclick">
  88. <![CDATA[
  89. var chnlflag = model.getValue("/root/send/info/chnlflag");
  90. setParameter("chnlflag", chnlflag);
  91. modal("SPCNS00400");
  92. ]]>
  93. </script>
  94. </button>
  95. </group>
  96. </xhtml:body>
  97. </xhtml:html>