팝업창타이틀변경.xrw 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. <example/>
  10. <main>
  11. </main>
  12. <option1/>
  13. </root>
  14. </instance>
  15. <script type="javascript" ev:event="xforms-ready">
  16. <![CDATA[
  17. document.title = "이름을 바꾼다.";
  18. // setTree(datagrid1, 0, 1, false, 0);
  19. // model.refresh();
  20. ]]>
  21. </script>
  22. </model>
  23. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  24. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  25. </xhtml:head>
  26. <xhtml:body>
  27. <button id="button1" class="btn1_letter6" style="left:335px; top:30px; width:104px; height:22px; background-image:../../../com/commonweb/images/btn1_letter6.gif; ">
  28. <caption>이름을바꾼다</caption>
  29. <script type="javascript" ev:event="DOMActivate">
  30. <![CDATA[
  31. document.title= model.getValue("/root/example");
  32. ]]>
  33. </script>
  34. </button>
  35. <input id="input1" ref="/root/example" style="left:220px; top:30px; width:100px; height:19px; "/>
  36. <caption id="caption1" style="left:110px; top:30px; width:90px; height:25px; ">문서제목표시</caption>
  37. </xhtml:body>
  38. </xhtml:html>