SPLOR90200_이미지결과상세조회.xrw 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SPLOR90200_이미지결과상세조회.xrw
  4. * 설 명 : 이미지결과상세조회
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2010.02.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>이미지결과상세조회</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <getDescrslt>
  20. <readrslt/>
  21. </getDescrslt>
  22. </main>
  23. <send>
  24. </send>
  25. <init>
  26. </init>
  27. <hidden>
  28. <imgrslt>
  29. <imgrslt/>
  30. <imght/>
  31. <imgwidt/>
  32. </imgrslt>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. fExeInitialize();
  42. ]]>
  43. </script>
  44. <submission id="TXLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
  45. <submission id="TRLRR90201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
  46. </model>
  47. <script type="javascript">
  48. <![CDATA[
  49. // 초기화
  50. function fExeInitialize(){
  51. //var img = document.controls.item(img);
  52. //if(model.getValue("/root/hidden/imgrslt/imgrslt")==""){
  53. //fChangeImage("../../../com/commonweb/images/no_image.gif");
  54. //}else{
  55. setImageRefInstance("/root/hidden/imgrslt/imgrslt");//이미지 셋팅
  56. var imgwidth = model.getValue("/root/hidden/imgrslt/imgwidt");
  57. var imgheight = model.getValue("/root/hidden/imgrslt/imght");
  58. //alert("1 imgwidth= " + imgwidth + " imgheight= " + imgheight);
  59. if( imgwidth > 780){
  60. imgwidth = imgwidth * 0.7;
  61. }
  62. if( imgheight > 780) {
  63. imgheight = imgheight * 0.7;
  64. }
  65. // alert("2 imgwidth= " + imgwidth + " imgheight= " + imgheight);
  66. img1.attribute("width") = imgwidth;
  67. img1.attribute("height") = imgheight;
  68. // group2.attribute("width") = imgwidth;
  69. // group2.attribute("height") = imgheight;
  70. //alert( group2.attribute("height") );
  71. // }
  72. model.refresh();
  73. }
  74. // 닫기
  75. function fSetClose(){
  76. window.close();
  77. }
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body pagewidth="880" pageheight="740" guideline="1,1194;" style="border-color:#000000; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  82. <group id="group1" style="left:0px; top:0px; width:860px; height:675px; ">
  83. <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:855px; y2:26px; "/>
  84. <caption id="caption3" class="tit_2" style="left:5px; top:11px; width:169px; height:13px; ">이미지 결과 상세보기</caption>
  85. <line id="line5" class="line_3" style="x1:0px; y1:671px; x2:850px; y2:671px; "/>
  86. <group id="group2" visibility="visible" overflow="scroll" scroll="auto" style="left:0px; top:30px; width:850px; height:640px; ">
  87. <img id="img1" ref="/root/hidden/imgrslt/imgrslt" src="../images/결과이미지.gif" style="left:0px; top:0px; width:845px; height:635px; background-image:../../../com/commonweb/images/no_image.gif; background-stretch:stretch; "/>
  88. </group>
  89. </group>
  90. <group id="group3" style="left:0px; top:682px; width:855px; height:27px; ">
  91. <line id="line8" class="line_6" style="x1:0px; y1:0px; x2:850px; y2:0px; "/>
  92. <button id="btn_close" class="btn4_letter2" style="left:790px; top:5px; width:56px; height:22px; ">
  93. <caption>닫기</caption>
  94. <script type="javascript" ev:event="DOMActivate">
  95. <![CDATA[
  96. fSetClose();
  97. ]]>
  98. </script>
  99. </button>
  100. </group>
  101. </xhtml:body>
  102. </xhtml:html>