SPAHB01200_2차판정코드설정.xrw 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPAHB01200.xrw
  4. * 설 명 : 2차판정코드설정
  5. * 설 계 자 : 김호익
  6. * 작 성 자 : 김호익
  7. * 작 성 일 : 2008.06.03
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <xhtml:head>
  14. <xhtml:title>Untitle</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <codeinfo>
  20. <etcdetlcd/>
  21. <etcdetlnm/>
  22. <etcitemcnts/>
  23. <etcitemcnts2/>
  24. </codeinfo>
  25. </main>
  26. </root>
  27. </instance>
  28. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  29. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  30. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  31. <script type="javascript" ev:event="xforms-ready">
  32. <![CDATA[
  33. fInit();
  34. ]]>
  35. </script>
  36. <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detlcodelst"/>
  37. <submission id="TRAHB00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/selectinput"/>
  38. <submission id="TRAHB03000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main"/>
  39. </model>
  40. <script type="javascript">
  41. <![CDATA[
  42. function fInit(){
  43. submit("TRAHB03000");
  44. }
  45. ]]>
  46. </script>
  47. </xhtml:head>
  48. <xhtml:body pagewidth="534" pageheight="543">
  49. <group id="group3" scroll="auto" style="left:0px; top:0px; width:518px; height:515px; ">
  50. <datagrid id="grd_etclst" nodeset="/root/main/codeinfo" caption="1차판정코드^1차판정명^2차판정코드^2차판정명" colsep="^" colwidth="74, 191, 100, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:5px; width:517px; height:500px; ">
  51. <col ref="etcdetlcd"/>
  52. <col ref="etcdetlnm"/>
  53. <col ref="etcitemcnts"/>
  54. <col ref="etcitemcnts2" type="inputbutton"/>
  55. <script type="javascript" ev:event="ondblclick">
  56. <![CDATA[
  57. /*
  58. if( fSetDataEtc() == 1){
  59. window.close();
  60. }*/
  61. ]]>
  62. </script>
  63. <script type="javascript" ev:event="onclick">
  64. <![CDATA[
  65. ]]>
  66. </script>
  67. <script type="javascript" ev:event="onbuttonclick">
  68. <![CDATA[
  69. if( grd_etclst.col == grd_etclst.colRef("etcitemcnts2")) {
  70. fGetPkgCd("SMAHA00100", "P", "N","nm" , "" , "G01", "" , "/root/main/pkg");
  71. var idx = grd_etclst.row;
  72. model.makeValue("/root/main/codeinfo["+idx+"]/etcitemcnts",model.getValue("/root/main/pkg/pkgcd"));
  73. model.makeValue("/root/main/codeinfo["+idx+"]/etcitemcnts2",model.getValue("/root/main/pkg/pkgnm"));
  74. model.refresh();
  75. }
  76. ]]>
  77. </script>
  78. </datagrid>
  79. </group>
  80. <group id="group4" scroll="auto" style="left:0px; top:515px; width:517px; height:28px; ">
  81. <button id="btn_cncl" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
  82. <caption>취소</caption>
  83. <script type="javascript" ev:event="DOMActivate">
  84. <![CDATA[
  85. window.close();
  86. ]]>
  87. </script>
  88. </button>
  89. <button id="btn_cfm" class="btn4_letter2" style="left:402px; top:3px; width:56px; height:22px; ">
  90. <caption>확인</caption>
  91. <script type="javascript" ev:event="DOMActivate">
  92. <![CDATA[
  93. if( fSetData() == 1){
  94. window.close();
  95. }
  96. ]]>
  97. </script>
  98. </button>
  99. </group>
  100. </xhtml:body>
  101. </xhtml:html>