SPZSA20201_사용자그룹변경.xrw 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>계정그룹 변경</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. </main>
  11. <send>
  12. <acntgrupnm/>
  13. <acntgrupcd/>
  14. </send>
  15. <init>
  16. </init>
  17. <temp/>
  18. <hidden/>
  19. </root>
  20. </instance>
  21. <script type="javascript" ev:event="xforms-ready">
  22. <![CDATA[
  23. btn_setacntgrupnm.disabled = !checkAuth("X") ;
  24. ]]>
  25. </script>
  26. <submission id="TXZSA20202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden"/>
  27. </model>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  30. <script type="javascript">
  31. <![CDATA[
  32. /**
  33. * @group :
  34. * @ver : 2006.12.20
  35. * @by : 이상준
  36. * @---------------------------------------------------
  37. * @type : function
  38. * @access : public
  39. * @desc : 폼값을 체크하여 서브밋
  40. * @return :
  41. * @---------------------------------------------------
  42. */
  43. function fRenameSubmit()
  44. {
  45. // 각 필드값을 체크한다.
  46. if(model.getValue("/root/send/acntgrupnm").getTrim()=="")
  47. {
  48. messageBox("계정그룹명은 ", "I003");
  49. model.setFocus("ipt_menugrupnm");
  50. return;
  51. }
  52. // 각 필드값을 체크한다.
  53. if(model.getValue("/root/send/acntgrupcd").getTrim()=="")
  54. {
  55. messageBox("계정그룹코드가 입력되지 않았습니다. ", "I003");
  56. window.close();
  57. return;
  58. }
  59. // 서브밋하여 결과를 표시한다.
  60. if (submit("TXZSA20202"))
  61. {
  62. messageBox(model.getValue("/root/hidden/result/contents"), "I999");
  63. // 정상적으로 처리되었을 경우에만 부모창으로 변경된 값을 전달
  64. if (parseInt(model.getValue("/root/hidden/result/count")) == 1)
  65. {
  66. var acntgrupnm = model.getValue("/root/send/acntgrupnm");
  67. if (checkOpener()) {
  68. opener.javascript.setParameter("SPZSA20201_", acntgrupnm);
  69. }
  70. }
  71. window.close();
  72. }
  73. else
  74. {
  75. messageBox("처리도중 에러가 발생하였습니다.", "I999");
  76. window.close();
  77. }
  78. }
  79. ]]>
  80. </script>
  81. </xhtml:head>
  82. <xhtml:body pagewidth="534" pageheight="160" style="border-color:#c7a3cf; ">
  83. <group id="grp_tle" style="left:0px; top:0px; width:534px; height:13px; ">
  84. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:525px; height:14px; ">계정그룹 변경</caption>
  85. </group>
  86. <group id="grd_input" scroll="auto" style="left:0px; top:36px; width:530px; height:119px; ">
  87. <caption id="caption9" class="tit_2" style="left:0px; top:10px; width:113px; height:13px; vertical-align:middle; ">계정그룹 변경</caption>
  88. <line id="line12" class="line_1" style="x1:0px; y1:27px; x2:529px; y2:26px; "/>
  89. <caption id="caption5" class="cell_1" style="left:0px; top:59px; width:105px; height:23px; vertical-align:middle; ">계정그룹 코드</caption>
  90. <output id="opt_acntgrupcd" ref="/root/send/acntgrupcd" class="ouput_fix" navindex="2" appearance="output" style="left:108px; top:60px; width:189px; height:19px; border-style:solid; "/>
  91. <caption id="caption1" class="cell_1" style="left:0px; top:34px; width:105px; height:23px; vertical-align:middle; ">계정그룹 명</caption>
  92. <input id="ipt_acntgrupnm" ref="/root/send/acntgrupnm" class="input_essential" navindex="1" style="left:109px; top:35px; width:189px; height:19px; "/>
  93. </group>
  94. <group id="grp_btn" style="left:0px; top:13px; width:531px; height:27px; ">
  95. <button id="btn_setacntgrupnm" class="btn4_letter2" navindex="3" style="left:474px; top:1px; width:56px; height:22px; ">
  96. <caption>확인</caption>
  97. <script type="javascript" ev:event="DOMActivate">
  98. <![CDATA[
  99. fRenameSubmit()
  100. ]]>
  101. </script>
  102. </button>
  103. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:525px; y2:25px; "/>
  104. </group>
  105. </xhtml:body>
  106. </xhtml:html>