123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : SSCNS00300_채널그룹트리
- * Summary : 채널그룹트리
- * Programmer : 최정환
- * Date Written : 2007.06.21
- * History : 2007.06.21
- * Remark : 데이터마이닝 그룹트리
- -->
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <chnltreeinfo>
- <chnltreelist>
- <msggrupnm/>
- <depth/>
- <msgmdlcd/>
- <msglrgcd/>
- <msgallcd/>
- </chnltreelist>
- </chnltreeinfo>
- </main>
- <send>
- <chnlsrch>
- <chnlmdlcd/>
- </chnlsrch>
- </send>
- </root>
- </instance>
- <submission id="TRCNS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/info" replace="instance" resultref="/root/main/chnltreeinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- submit("TRCNS00301");
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 그리드를 초기화한다.
- function fInitGrid(){
- model.removeNodeset("/root/main/chnltreeinfo/chnltreelist");
- submit("TRCNS00301");
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,230;1,230;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="grp_tree" scroll="auto" style="left:0px; top:0px; width:215px; height:724px; ">
- <line id="lin_tree" class="line_1" nodeset="/root/main/chnlinfo/chnltreelist" style="x1:0px; y1:0px; x2:215px; y2:0px; "/>
- <treeview id="trv_leftmenu" ref="/root/send/chnlsrch/chnlmdlcd" expanddepth="2" fullrowselect="true" itemsettype="depth" style="left:0px; top:5px; width:215px; height:695px; ">
- <itemset nodeset="/root/main/chnltreeinfo/chnltreelist">
- <label ref="msggrupnm"/>
- <value ref="msgallcd"/>
- <depth ref="depth"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var grup_allcd = trv_leftmenu.value;
-
- var cd_index = grup_allcd.indexOf("/");
- var grup_lrgcd = grup_allcd.substring(0, cd_index);
- var grup_mdlcd = grup_allcd.substring(cd_index + 1);
-
- model.setValue("/root/main/msgtmpl/msglrgcd",grup_lrgcd);
- model.setValue("/root/main/msgtmpl/msgmdlcd",grup_mdlcd);
- model.setValue("/root/main/msgtmpl/msgsmlcd","");
-
- //저장 수정버튼 활성화 구분
- model.setValue("/root/main/msgtmpl/savemode", "I");
- fGetMsgStatus();
- if (grup_mdlcd > 0) {
-
- model.setValue("/root/send/data/mdlgrupcd", grup_mdlcd);
- submit("TRCNS00203");
- model.setValue("/root/send/data/mdlgrupcd", "");
- //메인 초기화
- fInitiate();
-
- }
- ]]>
- </script>
- </treeview>
- <button id="btn_tree" class="btn2_letter4" style="left:151px; top:703px; width:64px; height:19px; ">
- <caption>그룹관리</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var chnlflag = model.getValue("/root/send/info/chnlflag");
- setParameter("chnlflag", chnlflag);
-
- modal("SPCNS00400");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|