]> err.no Git - sope/blob - sopex/Samples/WOxExtTest/TabPanel.wox
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1201 e4a50df8-12e2-0310-a44c...
[sope] / sopex / Samples / WOxExtTest / TabPanel.wox
1 <?xml version='1.0' standalone='yes'?>
2 <var:component className="Frame" title="name"
3            xmlns="http://www.w3.org/1999/xhtml"
4            xmlns:var="http://www.skyrix.com/od/binding"
5            xmlns:const="http://www.skyrix.com/od/constant">
6   
7   <var:tab-panel tabs="tabKeys" selectedTab="selection"
8                  nonSelectedBgColor="nonSelectedBgColor"
9                  bgcolor="bgcolor" textColor="textColor">
10     
11     <var:if-key const:key="selection" const:value="first">
12         ------------------ <br/>
13         This is the content<br/>for the <b>first</b> tab.<br/>
14         ------------------ <br/>
15     </var:if-key>
16     
17     <var:if-key const:key="selection" const:value="second">
18         ****************** <br/>
19         This is the content<br/>for the <b>second</b> tab.<br/>
20         ****************** <br/>
21     </var:if-key>
22
23     <var:if-key const:key="selection" const:value="third">
24         ++++++++++++++++++ <br/>
25         This is the content<br/>for the <b>third</b> tab.<br/>
26         ++++++++++++++++++ <br/>
27     </var:if-key>
28
29   </var:tab-panel>
30
31   <form var:action="self">
32     <table border='0'>
33       <tr>
34         <td align='right'>non selected bg color:</td>
35         <td><input type="text" var:value="nonSelectedBgColor" size="8"/></td>
36       </tr>
37       <tr>
38         <td align='right'>selected bg color:</td>
39         <td><input type="text" var:value="bgcolor" size="8"/></td>
40       </tr>
41       <tr>
42         <td align='right'>textColor:</td>
43         <td><input type="text" var:value="textColor" size="8"/></td>
44       </tr>
45       <tr>
46         <td colspan='2'><input type="submit" var:action="self" value="apply"/></td>
47       </tr>
48     </table>
49   </form>
50 </var:component>