SPAHR00910_장문메시지전송.xrw 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. <bizabbr>ast</bizabbr>
  11. <replytelno/>
  12. <rsrvyn>0</rsrvyn>
  13. <rsrvdate/>
  14. <rsrvtime/>
  15. <msgcnts/>
  16. <recvrlist>
  17. <chk/>
  18. <recvrnm/>
  19. <recvrtelno/>
  20. </recvrlist>
  21. <msgfrmtid/>
  22. <msgparam1/>
  23. <msgparam2/>
  24. <msgparam3/>
  25. <msgparam4/>
  26. </main>
  27. <send>
  28. </send>
  29. <init>
  30. </init>
  31. <hidden>
  32. <bytecnt>0</bytecnt>
  33. </hidden>
  34. </root>
  35. </instance>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  38. <script type="javascript" src="../../../ast/healexamweb/js/SPAHR00910.js"/>
  39. <script type="javascript" ev:event="xforms-ready">
  40. <![CDATA[
  41. fInitialize();
  42. ]]>
  43. </script>
  44. <submission id="TXZMI00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  45. </model>
  46. <script type="javascript">
  47. <![CDATA[
  48. ]]>
  49. </script>
  50. </xhtml:head>
  51. <xhtml:body pagewidth="267" pageheight="607" guideline="1,250;2,591;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  52. <group id="group1" class="sms" style="left:0px; top:0px; width:251px; height:593px; ">
  53. <textarea id="tar_contents" ref="/root/main/msgcnts" style="left:26px; top:65px; width:197px; height:174px; padding:10; background-color:transparent; ">
  54. <script type="javascript" ev:event="onkeyup">
  55. <![CDATA[
  56. var opt_bytesValue = tar_contents.currentText.getByteLength();
  57. var contents = tar_contents.currentText;
  58. if (parseInt(opt_bytesValue) > 2000)
  59. {
  60. messageBox("메시지는 2000bytes 를 넘을 수 없습니다.", "I999");
  61. model.setValue("/root/main/msgcnts",contents.cut(80));
  62. tar_contents.refresh();
  63. return;
  64. }
  65. model.setValue("/root/hidden/bytecnt", opt_bytesValue);
  66. opt_bytes.refresh();
  67. ]]>
  68. </script>
  69. </textarea>
  70. <button id="btn_addnumber" class="num_add" style="left:49px; top:316px; width:73px; height:23px; ">
  71. <caption/>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. var i;
  75. grd_recvrlist.addItem();
  76. i = grd_recvrlist.rows;
  77. grd_recvrlist.bottomRow = i;
  78. grd_recvrlist.select(i, 1, i, 1) = true;
  79. ]]>
  80. </script>
  81. </button>
  82. <button id="btn_deletenumber" class="num_del" style="left:128px; top:316px; width:73px; height:23px; ">
  83. <caption/>
  84. <script type="javascript" ev:event="DOMActivate">
  85. <![CDATA[
  86. fgriddelete(grd_recvrlist);
  87. ]]>
  88. </script>
  89. </button>
  90. <line id="line1" style="x1:28px; y1:475px; x2:221px; y2:475px; border-color:#C4CDDB; "/>
  91. <input id="ipt_trsmreqdt_date" ref="/root/main/rsrvdate" class="input_default" visibility="hidden" imemode="disabled" inputtype="date" validateformat="true" style="left:44px; top:503px; width:93px; height:19px; "/>
  92. <select1 id="rdo_rsrvyn" ref="/root/main/rsrvyn" visibility="hidden" appearance="full" cols="2" overflow="visible" style="left:44px; top:481px; width:161px; height:17px; text-align:left; border-style:none; ">
  93. <choices>
  94. <item>
  95. <label>즉시전송</label>
  96. <value>0</value>
  97. </item>
  98. <item>
  99. <label>예약전송</label>
  100. <value>1</value>
  101. </item>
  102. </choices>
  103. <script type="javascript" ev:event="xforms-value-changed">
  104. <![CDATA[
  105. frdocheck();
  106. ipt_trsmreqdt_date.value="";
  107. ipt_trsmreqdt_time.value="";
  108. ]]>
  109. </script>
  110. </select1>
  111. <input id="ipt_trsmreqdt_time" ref="/root/main/rsrvtime" class="input_default" visibility="hidden" imemode="disabled" format="hh:nn" showmask="true" validateformat="true" style="left:140px; top:503px; width:65px; height:19px; "/>
  112. <datagrid id="grd_recvrlist" nodeset="/root/main/recvrlist" class="datagrid_sms" caption="^수신자명^전화번호" colwidth="19, 53, 100" dataheight="23" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" style="left:26px; top:355px; width:195px; height:115px; ">
  113. <col class="sms" checkvalue="Y,N" ref="chk" type="checkbox" style="text-align:center; "/>
  114. <col ref="recvrnm" type="input"/>
  115. <col ref="recvrtelno" type="input" format="99999999999" maxlength="11"/>
  116. </datagrid>
  117. <button id="button7" style="left:48px; top:357px; width:15px; height:15px; ">
  118. <caption>v</caption>
  119. <script type="javascript" ev:event="DOMActivate">
  120. <![CDATA[
  121. fSelectAll(grd_recvrlist);
  122. ]]>
  123. </script>
  124. </button>
  125. <output id="opt_bytes" ref="/root/hidden/bytecnt" style="left:78px; top:246px; width:30px; height:19px; color:#ff0000; text-align:right; "/>
  126. <caption id="caption1" style="left:109px; top:248px; width:67px; height:15px; color:#0000ff; ">/2000 bytes</caption>
  127. <button id="btn_cancel" class="sms_cancel" style="left:127px; top:529px; width:62px; height:21px; ">
  128. <caption/>
  129. <script type="javascript" ev:event="DOMActivate">
  130. <![CDATA[
  131. window.close();
  132. ]]>
  133. </script>
  134. </button>
  135. <button id="ipt_send" class="sms_send" style="left:57px; top:529px; width:62px; height:21px; ">
  136. <caption/>
  137. <script type="javascript" ev:event="DOMActivate">
  138. <![CDATA[
  139. fSMSSubmit("/root/main");
  140. ]]>
  141. </script>
  142. </button>
  143. <button id="button5" class="send_name" style="left:35px; top:487px; width:52px; height:10px; ">
  144. <caption/>
  145. </button>
  146. <button id="button6" class="send_phone" style="left:35px; top:507px; width:64px; height:10px; ">
  147. <caption/>
  148. </button>
  149. <output id="opt_sender" class="input_default" disabled="false" style="left:112px; top:481px; width:109px; height:19px; "/>
  150. <input id="ipt_callback" ref="/root/main/replytelno" class="input_default" imemode="disabled" maxlength="11" format="99999999999" style="left:112px; top:502px; width:109px; height:19px; "/>
  151. </group>
  152. </xhtml:body>
  153. </xhtml:html>