SPZMS00300_인증서비번입력.xrw 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
  4. <xhtml:head>
  5. <xhtml:title>인증서 비밀번호 입력</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <example>Sample</example>
  10. <send>
  11. <rtndata>
  12. <pwd/>
  13. </rtndata>
  14. </send>
  15. </root>
  16. </instance>
  17. <script type="javascript">
  18. <![CDATA[
  19. var viewerObj = null;
  20. function fOnKeyPress(){
  21. var keyCode = 0;
  22. var shiftKey = false;
  23. keyCode = event.keyCode;
  24. shiftKey = event.shiftKey;
  25. if(!shiftKey && keyCode >=65 && keyCode <=90)
  26. cap_capslock.visible = true;
  27. else
  28. cap_capslock.visible = false;
  29. }
  30. function fPassConfirm() {
  31. var pwd = model.getValue("/root/send/rtndata/pwd");
  32. if (pwd == null || pwd == "") {
  33. messageBox("비밀번호가 입력되지 않았습니다!","I");
  34. return false;
  35. }
  36. if (fCommonCheckPassword(pwd,false) == false){
  37. if ("6" == messageBox("규칙에 맞지 않는 비빌번호입니다 \n 인증비밀번호 변경하시겠습니까?","Q999")) {
  38. btn_passchng.dispatch("DOMActivate");
  39. }
  40. return false;
  41. }
  42. return true;
  43. }
  44. ]]>
  45. </script>
  46. <script type="javascript" ev:event="xforms-ready">
  47. <![CDATA[
  48. body.attribute("onkeypress") = "fOnKeyPress();";
  49. viewerObj = getViewer("sysMessage");
  50. ]]>
  51. </script>
  52. </model>
  53. </xhtml:head>
  54. <script src="../../../com/commonweb/js/common.js" type="javascript"/>
  55. <script src="../../../com/commonweb/js/utilHelper.js" type="javascript"/>
  56. <script src="../../../com/commonweb/js/tfHelper.js" type="javascript"/>
  57. <script src="../../../com/commonweb/js/stringHelper.js" type="javascript"/>
  58. <script src="../../../com/commonweb/js/dateHelper.js" type="javascript"/>
  59. <script type="javascript" src="../../../com/hismainweb/js/ZUM008.js"/>
  60. <xhtml:body pagewidth="350" pageheight="170">
  61. <group id="group1" style="left:10px; top:35px; width:295px; height:115px; ">
  62. <shape id="roundrect5" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:290px; height:110px; background-color:#fffbf2; border-color:#ffd799; "/>
  63. <caption id="caption75" class="tit_2" style="left:0px; top:5px; width:243px; height:15px; ">인증서 비밀번호 입력</caption>
  64. <secret id="src_pwd" ref="/root/send/rtndata/pwd" class="secret_essential" navindex="10" imemode="disabled" maxlength="20" style="left:120px; top:36px; width:135px; height:19px; ">
  65. <script type="javascript" ev:event="onkeyup">
  66. <![CDATA[
  67. if(event.keyCode == 13){
  68. model.setFocus("btn_confirm");
  69. btn_confirm.dispatch("DOMActivate");
  70. }
  71. ]]>
  72. </script>
  73. </secret>
  74. <caption id="caption76" class="cell_1" style="left:5px; top:35px; width:110px; height:23px; ">인증서 비밀번호</caption>
  75. <button id="btn_confirm" class="btn4_letter2" navindex="20" style="left:215px; top:75px; width:56px; height:22px; ">
  76. <caption>확인</caption>
  77. <script type="javascript" ev:event="DOMActivate">
  78. <![CDATA[
  79. setForceOn();
  80. if (fPassConfirm()) {
  81. viewerObj.window.model.makeValue("/root/main/pwdhidden/pwd", model.getValue("/root/send/rtndata/pwd"));
  82. window.close();
  83. }
  84. ]]>
  85. </script>
  86. </button>
  87. <button id="btn_passchng" class="btn2_letter6" style="left:195px; top:5px; width:86px; height:19px; ">
  88. <caption>비밀번호변경</caption>
  89. <script type="javascript" ev:event="DOMActivate">
  90. <![CDATA[
  91. setParameter("SPZUM01100_param_flag","5");
  92. open("SPZUM01100");
  93. ]]>
  94. </script>
  95. </button>
  96. </group>
  97. <caption id="cap_capslock" visibility="hidden" style="left:10px; top:5px; width:250px; height:20px; font-weight:bold; color:#ff0000; ">[CapsLock키가 눌려있습니다.]</caption>
  98. <caption id="caption23" style="left:15px; top:105px; width:145px; height:20px; ">-문의처:의무기록팀</caption>
  99. <caption id="caption24" style="left:15px; top:122px; width:145px; height:20px; ">(본원:5322,칠곡:2402)</caption>
  100. </xhtml:body>
  101. </xhtml:html>