12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <commonlist>
- <cdnm/>
- <cdgrupid/>
- <cdid/>
- <sortseq/>
- </commonlist>
- </main>
- <init>
- </init>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/main/commonlist");
- model.removenode("/root/send");
- model.makeValue("/root/send/reqdata/cdgrupid", "200");
-
- submit("TRMNP04421");
- ]]>
- </script>
- <submission id="TRMNP04421" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/ccrlrglist"/>
- <submission id="TXMNP04421" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/commonlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="430" pageheight="500" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:410px; height:470px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:18px; width:145px; height:13px; ">상용구 리스트</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:33px; x2:400px; y2:33px; "/>
- <datagrid id="grd_commonlist" nodeset="/root/main/commonlist" caption="상용구^cdgrupid^cdid^sortseq" colsep="^" colwidth="377, 0, 0, 0" dataheight="23" defaultrows="0" extendlastcol="scroll" mergecellsfixedrows="never" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:38px; width:400px; height:430px; ">
- <col ref="cdnm" type="input"/>
- <col ref="cdgrupid"/>
- <col ref="cdid"/>
- <col ref="sortseq"/>
- </datagrid>
- <button id="button4" class="btn2_letter3" style="left:241px; top:13px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_commonlist.addRow();
- model.setValue("/root/main/commonlist[" + (grd_commonlist.rows-1) + "]/cdgrupid", "200");
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter3" style="left:298px; top:13px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var selRow = grd_commonlist.row;
- var cdid = model.getValue("/root/main/commonlist[" + selRow + "]/cdid");
- if( cdid == "" ) {
- grd_commonlist.removeRow();
- }else {
- grd_commonlist.rowStatus(selRow) = 4;
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn5_letter2" style="left:355px; top:13px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removenode("/root/send");
- model.makeValue("/root/send/reqdata/cdgrupid", "200");
- model.makeValue("/root/send/savedata", grd_commonlist.getUpdateData());
-
- submit("TXMNP04421");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|