123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <deptinfo/>
- </main>
- <send>
- <searchdept>
- <deptnm/>
- </searchdept>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <submission id="TRARH00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchdept" resultref="/root/main/deptinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </model>
- </xhtml:head>
- <script src="../../../com/commonweb/js/common.js" type="javascript"/>
- <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
- <script type="javascript">
- <![CDATA[
- function fInit(){
- fSearch();
- model.refresh();
- }
-
-
- function fSearch(){
- submit("TRARH00605");
- }
-
- function fSetReturn(){
- var nodelist = instance1.selectNodes("/root/main/deptinfo/deptlist[chk='Y']");
- var rCVS = getNodeListCSV(nodelist);
- opener.javascript.setParameter("SPARH00600_PARAM", rCVS);
-
- }
- ]]>
- </script>
- <xhtml:body pagewidth="325px" pageheight="450px" style="margin:8; ">
- <caption id="caption2" class="tit_1" style="left:0px; top:0px; width:205px; height:14px; ">HIE 과 팝업</caption>
- <group id="group5" style="left:0px; top:25px; width:320px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:320px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line2" class="line_4" style="x1:230px; y1:9px; x2:230px; y2:31px; "/>
- <button id="btn_search" class="btn1_letter2" navindex="33" style="left:240px; top:8px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearch();
-
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="input2" ref="/root/send/searchdept/deptnm" navindex="32" style="left:90px; top:10px; width:125px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode==13)
- {
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <caption id="caption7" class="search_name" style="left:8px; top:10px; width:94px; height:17px; ">과 명</caption>
- </group>
- <datagrid id="grd_deptlist" nodeset="/root/main/deptinfo/deptlist" caption="^코드^이름" colsep="^" colwidth="24, 73, 198" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:65px; width:320px; height:340px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col ref="commoncode"/>
- <col ref="commoncodename"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(grd_deptlist.row<1) return;
-
- var row = grd_deptlist.row;
-
- model.setValue("/root/main/deptinfo/deptlist["+(row)+"]/chk","Y");
-
- fSetReturn();
-
- //window.close();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn4_letter2" style="left:95px; top:415px; width:56px; height:22px; ">
- <caption>선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetReturn();
- window.close();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:160px; top:415px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|