]> err.no Git - sope/blob - sopex/Samples/WOxExtTest/KeyValueConditional.wox
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1201 e4a50df8-12e2-0310-a44c...
[sope] / sopex / Samples / WOxExtTest / KeyValueConditional.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:if-key const:key="selection" const:value="first">
8     *** content of <b>first</b> KeyValueCondition ***
9   </var:if-key>
10
11   <var:if-key const:key="selection" const:value="second">
12     +++ content of <b>second</b> KeyValueCondition +++
13   </var:if-key>
14
15   <var:if-key const:key="selection" const:value="third">
16     --- content of <b>third</b> KeyValueCondition ---
17   </var:if-key>
18
19   <var:if-key const:key="selection" const:value="fourth">
20     ### content of <b>fourth</b> KeyValueCondition ###
21   </var:if-key>
22    
23   <form var:action="self">
24     <var:popup list="list" item="item" selection="selection" string="item"
25                const:singleSelection="YES"/>
26     
27     <input type="submit" var:action="self" value="apply"/>
28   </form>
29 </var:component>