123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <grid>
- <entcomment/>
- <entname/>
- <entdefinition/>
- <colname/>
- <coltype/>
- <colnull/>
- <colcomment/>
- <coldefinition/>
- <colnote/>
- <colpk/>
- <colfk/>
- </grid>
- </main>
- <selectValue1>true</selectValue1>
- <selectValue2>1</selectValue2>
- <hidden/>
- <send>
- <savedata/>
- </send>
- </root>
- </instance>
- <submission id="TRZDD00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/grid" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com\commonweb\js\common.js"/>
- <script type="javascript" src="../../../com\commonweb\js\tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- var selectValue1 = true;
- var selectValue2 = 1;
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <line id="line8" class="line_1" style="x1:0px; y1:37px; x2:1194px; y2:37px; "/>
- <caption id="caption20" class="tit_2" style="left:6px; top:22px; width:118px; height:14px; ">ER Script</caption>
- <caption id="caption1" class="tit_1" style="left:0px; top:0px; width:320px; height:14px; vertical-align:middle; ">ER Upload</caption>
- <button id="button2" class="btn1_letter4" style="left:1110px; top:10px; width:80px; height:22px; ">
- <caption>ER 저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for ( i = 1; i <= grd_erlist.rows; i++)
- {
- grd_erlist.rowStatus(i) = 3;
-
- }
- model.makeValue("/root/send/savedata", grd_erlist.getUpdateData());
- submit("TRZDD00102");
- model.refresh();
- alert("ER 저장 완료");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <button id="button1" class="btn1_letter4" style="left:1020px; top:10px; width:80px; height:22px; ">
- <caption>ER 입력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- output1.text = fileName;
- grd_erlist.loadExcel(fileName, selectValue2, true);
- grd_erlist.deleteRow(1);
- grd_erlist.refresh();
- alert("ER 입력 완료");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </button>
- <datagrid id="grd_erlist" nodeset="/root/main/grid" caption="ENTCOMMENT^ENTNAME^ENTDEFINITION^COLNAME^COLTYPE^COLNULL^COLCOMMENT^COLDEFINITION^COLNOTE^COLPK^COLFK" colsep="^" colwidth="98, 113, 147, 156, 127, 79, 100, 133, 105, 65, 67" dataheight="25" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:42px; width:1194px; height:528px; border-color:#808080; ">
- <col ref="entcomment">
- <choices/>
- </col>
- <col ref="entname"/>
- <col ref="entdefinition"/>
- <col ref="colname"/>
- <col ref="coltype"/>
- <col ref="colnull"/>
- <col ref="colcomment"/>
- <col ref="coldefinition"/>
- <col ref="colnote"/>
- <col ref="colpk"/>
- <col ref="colfk"/>
- </datagrid>
- <output id="output1" style="left:115px; top:20px; width:545px; height:15px; "/>
- </xhtml:body>
- </xhtml:html>
|