73cafb73a5c642c6dc9c41338f034670150c3353.svn-base 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.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. <radioData>
  10. <item>
  11. <label>J81-12345A</label>
  12. <value>J81-12345A</value>
  13. </item>
  14. <item>
  15. <label>J81-12346A</label>
  16. <value>J81-12346A</value>
  17. </item>
  18. <item>
  19. <label>J81-12347A</label>
  20. <value>J81-12347A</value>
  21. </item>
  22. <item>
  23. <label>J81-23125B</label>
  24. <value>J81-23125B</value>
  25. </item>
  26. <item>
  27. <label>J81-25635B</label>
  28. <value>J81-25635B</value>
  29. </item>
  30. </radioData>
  31. <storeValue/>
  32. <inputValue/>
  33. </root>
  34. </instance>
  35. </model>
  36. </xhtml:head>
  37. <xhtml:body pagewidth="400" pageheight="400">
  38. <select1 id="radio1" ref="/root/storeValue" appearance="full" overflow="visible" style="left:20px; top:50px; width:355px; height:240px; border-style:none; ">
  39. <choices>
  40. <itemset nodeset="/root/radioData/item">
  41. <label ref="label"/>
  42. <value ref="value"/>
  43. </itemset>
  44. </choices>
  45. <script type="javascript" ev:event="onclick">
  46. <![CDATA[
  47. var radioValue = radio1.value;
  48. model.setValue("/root/inputValue",radioValue);
  49. model.refresh();
  50. //var opp = window.opener;
  51. //opp.model.setValue("/root/formData/CHARGE_NO",radioValue);
  52. //opp.model.refresh();
  53. ]]>
  54. </script>
  55. </select1>
  56. <caption id="caption2" class="cell" style="left:120px; top:15px; width:140px; height:23px; "/>
  57. <input id="input1" ref="/root/inputValue" style="left:122px; top:18px; width:136px; height:17px; "/>
  58. <caption id="caption3" class="cell" style="left:20px; top:15px; width:100px; height:23px; ">请选择炉次号:</caption>
  59. <button id="button2" style="left:265px; top:18px; width:85px; height:20px; background-image:..\..\images\保存.GIF; ">
  60. <caption>确定</caption>
  61. <script type="javascript" ev:event="DOMActivate">
  62. <![CDATA[
  63. var inputValue = input1.value;
  64. var opp1 = window.opener;
  65. opp1.model.setValue("/root/formData/CHARGE_NO",inputValue);
  66. opp1.model.refresh();
  67. window.close();
  68. ]]>
  69. </script>
  70. </button>
  71. </xhtml:body>
  72. </xhtml:html>