SMTSS00400.xrw 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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>Untitle</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <send>
  10. <datalist/>
  11. <sdatalist>
  12. <sdata3>aa</sdata3>
  13. <sdata2>bb</sdata2>
  14. <sdata1>cc</sdata1>
  15. </sdatalist>
  16. </send>
  17. <main>
  18. <datalist>
  19. <datas>
  20. <data3/>
  21. <data2/>
  22. <data1/>
  23. </datas>
  24. </datalist>
  25. <gridlist>
  26. <a>200701010110000</a>
  27. <b/>
  28. <c/>
  29. </gridlist>
  30. </main>
  31. </root>
  32. </instance>
  33. <submission id="TXTSS00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
  34. </model>
  35. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  36. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  37. </xhtml:head>
  38. <xhtml:body>
  39. <button id="button2" class="btn2_letter2" style="left:465px; top:35px; width:42px; height:19px; ">
  40. <caption>ÀúÀå</caption>
  41. <script type="javascript" ev:event="DOMActivate">
  42. <![CDATA[
  43. copyNodeType("/root/send/datalist", "/root/main/datalist", "after");
  44. model.resetInstanceNode("/root/main/datalist");
  45. model.refresh();
  46. ]]>
  47. </script>
  48. </button>
  49. <button id="button3" class="btn5_letter2" style="left:520px; top:35px; width:42px; height:19px; ">
  50. <caption>¹Ý¿µ</caption>
  51. <script type="javascript" ev:event="DOMActivate">
  52. <![CDATA[
  53. submit("TXTSS00401");
  54. ]]>
  55. </script>
  56. </button>
  57. <input id="input1" ref="/root/main/datalist/datas/data3" style="left:100px; top:35px; width:100px; height:19px; "/>
  58. <input id="input2" ref="/root/main/datalist/datas/data2" style="left:220px; top:35px; width:100px; height:19px; "/>
  59. <input id="input3" ref="/root/main/datalist/datas/data1" style="left:335px; top:35px; width:100px; height:19px; "/>
  60. <datagrid id="datagrid1" nodeset="/root/main/gridlist" caption="caption1^caption2^caption3" colsep="^" mergecellsfixedrows="bycolrec" rowsep="|" style="left:100px; top:70px; width:350px; height:150px; ">
  61. <col ref="a"/>
  62. <col ref="b"/>
  63. <col ref="c"/>
  64. </datagrid>
  65. <button id="button1" class="btn2_letter10" style="left:455px; top:200px; width:130px; height:19px; ">
  66. <caption>getNodeListCSV()</caption>
  67. <script type="javascript" ev:event="DOMActivate">
  68. <![CDATA[
  69. var nodeList = instance1.selectNodes("/root/send/datalist/datas");
  70. var rCSV = getNodeListCSV(nodeList);
  71. alert(rCSV);
  72. model.setValue("/root/send/datalist", rCSV);
  73. submit("TXTSS00401");
  74. ]]>
  75. </script>
  76. </button>
  77. </xhtml:body>
  78. </xhtml:html>