Sample_시연.xrw 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <a/>
  10. <b/>
  11. <c/>
  12. <d/>
  13. <e>
  14. <a/>
  15. <b/>
  16. <c/>
  17. </e>
  18. <e>
  19. <a/>
  20. <b/>
  21. <c/>
  22. </e>
  23. <f>
  24. <a/>
  25. <b/>
  26. <c/>
  27. </f>
  28. <f>
  29. <a/>
  30. <b/>
  31. <c/>
  32. </f>
  33. </root>
  34. </instance>
  35. <script type="javascript" ev:event="xforms-ready">
  36. <![CDATA[
  37. var userid = getUserInfo("userid");
  38. if (userid == "")
  39. userid = "test1";
  40. browser1.navigate("http://localhost:8080/awtEx.jsp?userid=" + userid);
  41. ]]>
  42. </script>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  46. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  47. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  49. </xhtml:head>
  50. <xhtml:body>
  51. <textarea id="MTX_3" ref="/root/d" editable="true" degnitemno="3" ctrltype="ctrl" editmenu="false" style="left:35px; top:150px; width:560px; height:120px; background-color:#ffcc00; border-style:sunken; cursor:auto; "/>
  52. <caption id="LBL_3" visibility="visible" degnitemno="3" ctrltype="label" editable="true" style="left:25px; top:130px; width:134px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; border-style:none; cursor:auto; ">TextArea</caption>
  53. <input id="STX_2" ref="/root/c" disabled="false" editable="true" style="left:35px; top:110px; width:560px; height:19px; background-color:#ffcc00; border-style:sunken; cursor:auto; "/>
  54. <caption id="LBL_39" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:10px; top:10px; width:345px; height:20px; font-weight:bold; vertical-align:middle; border-style:none; cursor:auto; "># AWT 변환 예제</caption>
  55. <caption id="caption1" visibility="visible" degnitemno="3" ctrltype="label" editable="true" style="left:25px; top:90px; width:134px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; border-style:none; cursor:auto; ">Input</caption>
  56. <datagrid id="datagrid2" nodeset="/root/f" caption="caption1^caption2^caption3" colsep="^" colwidth="100, 289, 128" mergecellsfixedrows="bycolrec" rowsep="|" style="left:35px; top:295px; width:560px; height:85px; ">
  57. <col ref="a"/>
  58. <col ref="b" type="input" style="background-color:#ffcc00; "/>
  59. <col ref="c" type="input" style="background-color:#ffcc00; "/>
  60. </datagrid>
  61. <caption id="caption5" visibility="visible" degnitemno="3" ctrltype="label" editable="true" style="left:25px; top:275px; width:134px; height:20px; font-weight:bold; color:#ff0000; vertical-align:middle; border-style:none; cursor:auto; ">DataGrid</caption>
  62. <caption id="caption2" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:20px; top:25px; width:345px; height:20px; font-weight:bold; vertical-align:middle; border-style:none; cursor:auto; ">단어 입력 후 (Ctrl + Space) 또는 (Ctrl + `) 입력</caption>
  63. <caption id="caption21" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:45px; width:580px; height:20px; vertical-align:middle; border-style:none; cursor:auto; ">
  64. <![CDATA[Ctrl + Space : 한->영, 영->한 변환 (선택된 단어가 의미있는(사전에 등록된 단어이면 변환하지 않음))]]>
  65. </caption>
  66. <caption id="caption22" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:60px; width:370px; height:20px; vertical-align:middle; border-style:none; cursor:auto; ">
  67. <![CDATA[Ctrl + ` : 사용자가 미리 설정한 요약어에서 검색하여 존재하면 교체]]>
  68. </caption>
  69. <caption id="caption23" visibility="visible" degnitemno="39" ctrltype="label" editable="true" style="left:30px; top:75px; width:320px; height:20px; vertical-align:middle; border-style:none; cursor:auto; ">
  70. <![CDATA[Esc키 아래에 있는 키임, 홋 따옴표가 아님]]>
  71. </caption>
  72. <browser id="browser1" style="left:5px; top:385px; width:640px; height:635px; "/>
  73. <!--AWT동작 관련 설정 시작 -->
  74. <script type="javascript" ev:event="onkeyup">
  75. <![CDATA[
  76. AwtSearch_Form();
  77. ]]>
  78. </script>
  79. <script type="javascript">
  80. var AwtServerUrl="http://localhost:8080/awtAjaxEx.jsp";
  81. </script>
  82. <script type="javascript" src="../../../com/awtweb/js/awtEx.js"/>
  83. <!--AWT동작 관련 설정 끝 -->
  84. </xhtml:body>
  85. </xhtml:html>