1 | <!-- |
---|
2 | (c) 2007 TIBCO Software Inc. Use, modification, and distribution subject to terms of license. |
---|
3 | --> |
---|
4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
5 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
6 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > |
---|
7 | <head> |
---|
8 | <title>TIBCO(R) PageBus Sample</title> |
---|
9 | <script type="text/javascript" src="../../js/pagebus.js"></script> |
---|
10 | <link rel="stylesheet" type="text/css" href ="../demo.css"/> |
---|
11 | </head> |
---|
12 | |
---|
13 | <body id="body-area"> |
---|
14 | |
---|
15 | <table class="banner-area"> |
---|
16 | <tr> |
---|
17 | <th></th> |
---|
18 | <td></td> |
---|
19 | </tr> |
---|
20 | </table> |
---|
21 | |
---|
22 | <div id="panes"> |
---|
23 | <div id="pane1"> |
---|
24 | |
---|
25 | <!-- Begin Store Component --> |
---|
26 | |
---|
27 | <div class="component"> |
---|
28 | <div class="component-title">Store Values</div> |
---|
29 | <div class="component-body"> |
---|
30 | |
---|
31 | <form style="padding: 2px; text-align: left; "> |
---|
32 | <input size="18" id="storeSubject" value="a.b.c"/> |
---|
33 | <input size="18" id="storeValue" value=""/> |
---|
34 | <a href="#" onClick="storer.storeData();return false;">Store Value</a> |
---|
35 | <a href="#" onClick="storer.clearData();return false;">Clear Value</a> |
---|
36 | </form> |
---|
37 | <div id="storerStatus"></div> |
---|
38 | |
---|
39 | <script type="text/javascript" src="Storer.js"></script> |
---|
40 | <script type="text/javascript"> |
---|
41 | var storer = new Storer('storerStatus'); |
---|
42 | </script> |
---|
43 | |
---|
44 | </div> |
---|
45 | </div> |
---|
46 | |
---|
47 | </script> |
---|
48 | |
---|
49 | <!-- End Storer Component --> |
---|
50 | |
---|
51 | <!-- Begin Query Component --> |
---|
52 | |
---|
53 | <div class="component"> |
---|
54 | <div class="component-title">Querier</div> |
---|
55 | <div class="component-body"> |
---|
56 | <span >Specify a subject to query.</span> |
---|
57 | <form style="padding: 2px; text-align: center; "> |
---|
58 | <input id="querySubject" value="a.b.**"/> |
---|
59 | <a href="#" onClick="querier.query();return false;">Perform a Query</a> |
---|
60 | </form> |
---|
61 | <hr/> |
---|
62 | <div id="QueryResults"></div> |
---|
63 | </div> |
---|
64 | </div> |
---|
65 | |
---|
66 | <script type="text/javascript" src="Querier.js"></script> |
---|
67 | <script type="text/javascript"> |
---|
68 | var querier = new Querier('QueryResults'); |
---|
69 | </script> |
---|
70 | |
---|
71 | <!-- End Component --> |
---|
72 | |
---|
73 | </div> |
---|
74 | |
---|
75 | <div id="pane2"> |
---|
76 | |
---|
77 | <!-- Begin Subscriber Component --> |
---|
78 | |
---|
79 | <div class="component"> |
---|
80 | <div class="component-title">Monitor Messages</div> |
---|
81 | <div class="component-body"> |
---|
82 | <span >This component subscribes to the subject '**'.</span> |
---|
83 | <hr/> |
---|
84 | <div id="MessageMonitorDiv"></div> |
---|
85 | </div> |
---|
86 | </div> |
---|
87 | |
---|
88 | <script type="text/javascript" src="../MessageMonitor.js"></script> |
---|
89 | <script type="text/javascript"> |
---|
90 | var messageMonitor = new MessageMonitor('MessageMonitorDiv'); |
---|
91 | </script> |
---|
92 | |
---|
93 | <!-- End Component --> |
---|
94 | |
---|
95 | |
---|
96 | </div> |
---|
97 | </div> |
---|
98 | |
---|
99 | <div id="footer-area"> |
---|
100 | <div>(c) 1999-2007 TIBCO Software Inc. Use, modification, and distribution subject to terms of license.</div> |
---|
101 | </div> |
---|
102 | |
---|
103 | </body> |
---|
104 | </html> |
---|