8bef7af48db5a29ffc06327c5e3b667de93d8c9f.svn-base 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. <storeValue/>
  11. <inputValue/>
  12. <resData/>
  13. <reqData/>
  14. </root>
  15. </instance>
  16. <script type="javascript" ev:event="xforms-ready">
  17. <![CDATA[
  18. //获得所有的轧辊号信息
  19. model.removenode("/root/reqData");
  20. model.makeNode("/root/reqData");
  21. //传入需要的条件
  22. commSubmit("UIH040050-service","init","glueAction.do");
  23. //把返回的Roll_No结果接点帮定到相应的
  24. model1.duplicate("/root/radioData","/root/resData/RollNoList_VO");
  25. model.refresh();
  26. ]]>
  27. </script>
  28. </model>
  29. <script type="javascript" src="../../js/boaMsg.js"/>
  30. <script type="javascript" src="../../js/boaCommon.js"/>
  31. </xhtml:head>
  32. <xhtml:body pagewidth="400" pageheight="400">
  33. <select1 id="radio1" ref="/root/storeValue" appearance="full" overflow="visible" style="left:20px; top:50px; width:330px; height:340px; border-style:none; ">
  34. <choices>
  35. <itemset nodeset="/root/radioData/RollNoList_VO/RollNoList_Row">
  36. <label ref="LABEL"/>
  37. <value ref="VALUE"/>
  38. </itemset>
  39. </choices>
  40. <script type="javascript" ev:event="onclick">
  41. <![CDATA[
  42. var radioValue = radio1.value;
  43. model.setValue("/root/inputValue",radioValue);
  44. model.refresh();
  45. ]]>
  46. </script>
  47. </select1>
  48. <caption id="caption2" class="cell" style="left:120px; top:15px; width:140px; height:23px; "/>
  49. <input id="input1" ref="/root/inputValue" style="left:122px; top:18px; width:136px; height:17px; "/>
  50. <caption id="caption3" class="cell" style="left:20px; top:15px; width:100px; height:23px; ">请选择轧辊号</caption>
  51. <button id="button2" style="left:265px; top:18px; width:85px; height:20px; background-image:..\..\images\保存.GIF; ">
  52. <caption>确定</caption>
  53. <script type="javascript" ev:event="DOMActivate">
  54. <![CDATA[
  55. var inputValue = input1.value;
  56. var opp1 = window.opener;
  57. opp1.model.setValue("/root/formData/ROLL_NO",inputValue);
  58. opp1.model.refresh();
  59. window.close();
  60. ]]>
  61. </script>
  62. </button>
  63. </xhtml:body>
  64. </xhtml:html>