123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <?xml version="1.0" encoding="UTF-8"?>
- <?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>
- </main>
- <send>
- <menugrupnm/>
- <menugrupcd/>
- </send>
- <init>
- </init>
- <temp/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- btn_setmenugrupnm.disabled = !checkAuth("X");
- ]]>
- </script>
- <submission id="TXZSA20304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript">
- <![CDATA[
- /**
- * @group :
- * @ver : 2006.12.20
- * @by : 이상준
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 폼값을 체크하여 서브밋
- * @return :
- * @---------------------------------------------------
- */
- function fRenameSubmit()
- {
-
- // 각 필드값을 체크한다.
- if(model.getValue("/root/send/menugrupnm").getTrim()=="")
- {
- messageBox("메뉴그룹명은 ", "I003");
- model.setFocus("ipt_menugrupnm");
- return;
- }
- // 각 필드값을 체크한다.
- if(model.getValue("/root/send/menugrupcd").getTrim()=="")
- {
- messageBox("메뉴그룹코드가 입력되지 않았습니다. ", "I003");
- window.close();
- }
- // 서브밋하여 결과를 표시한다.
- if (submit("TXZSA20304"))
- {
- messageBox(model.getValue("/root/hidden/result/contents"), "I999");
- // 정상적으로 처리되었을 경우에만 부모창으로 변경된 값을 전달
- if (parseInt(model.getValue("/root/hidden/result/count")) == 1)
- {
- var menugroupnm = model.getValue("/root/send/menugrupnm");
-
- if (checkOpener())
- {
- opener.javascript.setParameter("SPZSA20300_", menugroupnm);
- }
-
- }
- window.close();
- }
- else
- {
- messageBox("처리도중 에러가 발생하였습니다.", "I999");
- window.close();
- }
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="534" pageheight="160" style="border-color:#c7a3cf; ">
- <group id="grp_tle" style="left:0px; top:0px; width:534px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:525px; height:14px; ">메뉴그룹 변경</caption>
- </group>
- <group id="grp_input" scroll="auto" style="left:0px; top:36px; width:530px; height:119px; ">
- <caption id="caption9" class="tit_2" style="left:0px; top:10px; width:113px; height:13px; vertical-align:middle; ">메뉴그룹 변경</caption>
- <line id="line12" class="line_1" style="x1:0px; y1:27px; x2:529px; y2:26px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:59px; width:105px; height:23px; vertical-align:middle; ">메뉴그룹 코드</caption>
- <output id="opt_menugrupcd" ref="/root/send/menugrupcd" class="ouput_fix" navindex="2" appearance="output" style="left:108px; top:60px; width:189px; height:19px; border-style:solid; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:34px; width:105px; height:23px; vertical-align:middle; ">메뉴그룹 명</caption>
- <input id="ipt_menugrupnm" ref="/root/send/menugrupnm" class="input_essential" navindex="1" style="left:109px; top:35px; width:189px; height:19px; "/>
- </group>
- <group id="grp_btn" style="left:0px; top:13px; width:531px; height:27px; ">
- <button id="btn_setmenugrupnm" class="btn4_letter2" navindex="3" style="left:474px; top:1px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRenameSubmit();
- ]]>
- </script>
- </button>
- <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:525px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|