123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <?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>Allergy 식품내역</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <M0344list/>
- </main>
- <hidden>
- </hidden>
- <send>
- </send>
- <init>
- <M0344list>
- <M0344>
- <cdid/>
- <cdnm/>
- </M0344>
- </M0344list>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- //공통코드호출
- zbcfGetCodeList(new Array("M0344"), new Array("/root/init/M0344list"));
- //공백제거
- grd_foodlist.nodeset="/root/init/M0344list/M0344[cdid !='']";
- //.choices.itemset.attribute("nodeset") = "/root/init/A0130list/A0130[cdid != '' ]";
-
- model.copyNode("/root/main/M0344list", "/root/init/M0344list");
- model.refresh();
- }
-
- ]]>
- </script>
- <submission id="TRMMD03201" ref="/root/send/reqdata" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/main/allergylists"/>
- <submission id="TRZBC00101" method="post" mediatype="application/x-www-form-urlencoded"/>
- </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/basiccodeweb/js/ZBC001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="340" pageheight="385" style="margin-left:8; margin-right:8; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:305px; height:350px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:0px; width:119px; height:13px; ">Allergy 식품내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:305px; y2:15px; "/>
- <datagrid id="grd_foodlist" nodeset="/root/main/M0344list/M0344" caption="항목^코드" colwidth="200, 100" dataheight="23" defaultrows="1" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" colsep="^" style="left:0px; top:20px; width:305px; height:324px; ">
- <col ref="cdnm"/>
- <col ref="cdid"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- opener.grd_food.addRow();
- opener.model.makeValue("/root/main/foodlists/foodlist/clsnm", model.getValue("/root/main/M0344list/M0344["+ (grd_foodlist.row+1) +"]/cdnm"));
- opener.model.makeValue("/root/main/foodlists/foodlist/clscd", model.getValue("/root/main/M0344list/M0344["+ (grd_foodlist.row+1) +"]/cdid"));
- window.close();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:356px; width:300px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:183px; top:3px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iRow = grd_foodlist.row;
- if(iRow == null || iRow == "") {
- var msg = messageBox("항목을 ", "C002");
- return;
- } else{
- opener.grd_food.addRow();
- opener.model.makeValue("/root/main/foodlists/foodlist/clsnm", model.getValue("/root/main/M0344list/M0344["+ grd_foodlist.row+"]/cdnm"));
- opener.model.makeValue("/root/main/foodlists/foodlist/clscd", model.getValue("/root/main/M0344list/M0344["+ grd_foodlist.row+"]/cdid"));
- window.close();
- }
- ]]>
- </script>
- </button>
- <button id="btn_cancel" class="btn4_letter2" style="left:244px; top:3px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|