SPMNP00305_수술기록 퇴실장소 저장 메세지.xrw 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="EUC-KR"?>
  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. <messageinfo>
  11. <massage>MESSAGE</massage>
  12. <info>확인</info>
  13. </messageinfo>
  14. </main>
  15. </root>
  16. </instance>
  17. <script type="javascript" ev:event="xforms-ready">
  18. <![CDATA[
  19. fInit();
  20. ]]>
  21. </script>
  22. <script type="javascript">
  23. <![CDATA[
  24. var sResult = "";
  25. function fInit(){
  26. var sMessage = opener.javascript.getParameter("SPMNP00305_message");
  27. opener.javascript.setParameter("SPMNP00305_message", "");//전역변수 초기화
  28. if(sMessage != "" && sMessage != null && sMessage != "undefined"){
  29. caption1.value = sMessage;
  30. }else{
  31. opener.javascript.setParameter("SPMNP00305_result", "");
  32. model.close();
  33. }
  34. var sButton1Caption = opener.javascript.getParameter("SPMNP00305_button1");
  35. var sButton2Caption = opener.javascript.getParameter("SPMNP00305_button2");
  36. var sButtonFocus = opener.javascript.getParameter("SPMNP00305_buttonFocus");
  37. var sCaptionInfo = opener.javascript.getParameter("SPMNP00305_capinfo");
  38. opener.javascript.setParameter("SPMNP00305_button1", "");
  39. opener.javascript.setParameter("SPMNP00305_button2", "");
  40. opener.javascript.setParameter("SPMNP00305_buttonFocus", "");
  41. opener.javascript.setParameter("SPMNP00305_capinfo", "");
  42. if(sButton1Caption != "" && sButton1Caption != null && sButton1Caption != "undefined"){
  43. button1.value = sButton1Caption;
  44. }
  45. if(sButton2Caption != "" && sButton2Caption != null && sButton2Caption != "undefined"){
  46. button2.value = sButton2Caption;
  47. }
  48. if(sCaptionInfo != "" && sCaptionInfo != null && sCaptionInfo != "undefined"){
  49. caption17.value = sCaptionInfo;
  50. }
  51. if(sButtonFocus == "button1" || sButtonFocus == "button2"){
  52. model.setfocus(sButtonFocus);
  53. }else{
  54. model.setFocus("button1");
  55. }
  56. }
  57. ]]>
  58. </script>
  59. </model>
  60. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  61. </xhtml:head>
  62. <xhtml:body pagewidth="450" pageheight="100" guideline="1,450;2,130;1,-1;1,229;" style="color:#3366ff; background-color:#f8f8f8; ">
  63. <button id="button1" style="left:115px; top:65px; width:89px; height:24px; font-family:돋움체; font-size:11pt; text-align:center; background-color:#f8f8f8; border-width:1px; border-style:solid; ">
  64. <caption>확 인</caption>
  65. <script type="javascript" ev:event="DOMActivate">
  66. <![CDATA[
  67. opener.javascript.setParameter("SPMNP00305_result", "true");//전역변수 초기화
  68. model.close();
  69. ]]>
  70. </script>
  71. </button>
  72. <button id="button2" style="left:254px; top:65px; width:89px; height:24px; font-family:돋움체; font-size:11pt; text-align:center; background-color:#f8f8f8; border-width:1px; border-style:solid; ">
  73. <caption>취 소</caption>
  74. <script type="javascript" ev:event="DOMActivate">
  75. <![CDATA[
  76. opener.javascript.setParameter("SPMNP00305_result", "false");//전역변수 초기화
  77. model.close();
  78. ]]>
  79. </script>
  80. </button>
  81. <caption id="caption1" ref="/root/main/messageinfo/massage" style="left:15px; top:10px; width:430px; height:50px; font-family:Arial Narrow; font-size:11pt; color:#000000; text-align:center; vertical-align:middle; background-color:transparent; ">MESSAGE</caption>
  82. <caption id="caption17" ref="/root/main/messageinfo/info" class="tit_2" visibility="hidden" style="left:20px; top:15px; width:380px; height:13px; vertical-align:middle; "/>
  83. </xhtml:body>
  84. </xhtml:html>