1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?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="">
- <send>
- <attach>
- <file>
- </file>
- </attach>
- <appyy/>
- <instcd/>
- <educcd/>
- </send>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.removenode("/root/send/attach");
- model.refresh();
- ]]>
- </script>
- <submission id="TXRPS00205" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="540" pageheight="350" style="text-align:center; margin-left:8; margin-right:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:15px; width:495px; height:285px; ">
- <button id="button7" class="btn4_letter2" style="left:430px; top:250px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( submit("TXRPS00205") ) {
- model.removeNodeset("/root/send/attach");
-
- window.opener.model.setValue("/root/temp/flag", "1");
- window.opener.model.refresh();
- window.opener.ipt_flag.dispatch("xforms-value-changed");
-
- window.close();
- }
- ]]>
- </script>
- </button>
- <upload id="upload1" nodeset="/root/send/attach/file" style="left:185px; top:250px; width:35px; height:15px; "/>
- <datagrid id="grd_attach" nodeset="/root/send/attach" caption="파일경로" colsep="^" colwidth="454" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" tooltip="true" style="left:0px; top:0px; width:490px; height:246px; ">
- <col ref="file"/>
- </datagrid>
- <button id="button1" class="btn1_letter4" style="left:255px; top:250px; width:80px; height:22px; ">
- <caption>파일선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- files = window.fileDialog("open", "|", true);
- if(files != "") {
- filelist = files.split("|");
- for(var i = 0 ; i < filelist.length ; i++ ) {
- grd_attach.addRow(false);
- grd_attach.valueMatrix(i+1, grd_attach.colRef("file")) = filelist[i];
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:370px; top:250px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var row = grd_attach.row;
- grd_attach.deleteRow(row);
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:1px; width:495px; height:13px; ">첨부파일 업로드</caption>
- </xhtml:body>
- </xhtml:html>
|