123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?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>
- <list>
- <cdnm/>
- </list>
- </main>
- <send>
- <gpcd/>
- </send>
- <temp>
- </temp>
- <init>
- <list>
- <C0009>
- <chk/>
- <cdnm/>
- <cdid/>
- </C0009>
- </list>
- </init>
- <hidden>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.setValue("/root/send/gpcd","0009");
- submit("TRZRM00102");
-
-
- //opener.window.javascript.setParameter("SSMMR01100_formrecseq", param);
-
-
- //opener.window.javascript.fPreOpAssemRecClose();
- //window.close();
-
-
- ]]>
- </script>
- <submission id="TRZRM00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/list"/>
- </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="../../../com/commonweb/js/numericHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="250" pageheight="400" guideline="2,709;1,458;1,-38;">
- <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:151px; height:14px; ">분야 입력</caption>
- <datagrid id="grd_opinfo7" nodeset="/root/init/list/C0009" class="datagrid_sms" caption="^분야" colwidth="35, 174" tooltip="true" style="left:5px; top:20px; width:240px; height:315px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col allowuserresize="true" ref="cdnm"/>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- var part = "";
- var firstRow = grd_opinfo7.selectedRow(0);
- var lastRow = grd_opinfo7.selectedRow(grd_opinfo7.selectedRows-1);
-
- for (i=firstRow ; i<=lastRow ; i++){
- if (grd_opinfo7.col > 0 && grd_opinfo7.row > 0) {
- var row = i;
- var chkflag = model.getValue("/root/init/list/C0009["+ i +"]/chk");
- if (chkflag == "Y") { chkflag = "N" } else { chkflag = "Y" };
- model.setValue("/root/init/list/C0009["+ i +"]/chk", chkflag);
-
- }
- }
- grd_opinfo7.refresh();
- for (i= 1; i <= grd_opinfo7.rows;i++){
- chkflag = model.getValue("/root/init/list/C0009["+ i +"]/chk");
- if (chkflag == "Y"){
- var cdnm = grd_opinfo7.valueMatrix(i, grd_opinfo7.colRef("cdnm"));
- if(part == "") {
- part = cdnm;
- } else {
- part = part + ", " + cdnm;
- }
- }
- }
-
- model.setValue("/root/main/list/cdnm", part);
- model.refresh();
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_x_ok" class="btn1_letter2" style="left:185px; top:365px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var tmp = model.getValue("/root/main/list/cdnm");
- if(checkOpener()){
- opener.javascript.setParameter("SSZRM00100_REQPART", tmp);
- }
- model.close();
- ]]>
- </script>
- </button>
- <input id="ip_part" ref="/root/main/list/cdnm" class="input_search" disabled="false" style="left:5px; top:340px; width:240px; height:19px; "/>
- </xhtml:body>
- </xhtml:html>
|