]> err.no Git - sope/blob - sopex/Samples/WOxExtTest/WeekColumnView.wox
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1201 e4a50df8-12e2-0310-a44c...
[sope] / sopex / Samples / WOxExtTest / WeekColumnView.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   <form var:action="self">
8
9     <var:weekcol-view list="list" item="item" weekStart="weekStart"
10                       dayIndex="dayIndex"
11                       const:titleColor="#FFDAAA" const:contentColor="#FAE8B8"
12                       const:width="100%" const:border="0"
13                       const:cellspacing="2" const:cellpadding="4">
14   
15       <var:weekcol-title>
16         <font size="+2"><b><var:string value="dayTitle"/></b></font>
17       </var:weekcol-title>
18       
19       <var:weekcol-info>
20         <var:js-drop const:elementName="td" 
21                      const:isAttached="YES"
22                      tags="oneList" 
23                      action="dropAction" droppedObject="droppedObject"
24                      const:swapColor="YES"/>
25         
26         <small><b><i>
27             infos of day <var:string value="dayTitle"/>
28           <hr width="80%"/>
29         </i></b></small>
30       </var:weekcol-info>
31       
32       <var:weekcol>
33         <var:js-drag const:tag="one" const:object="one-toBeDropped">
34           <var:rich-string value="item.startDate" 
35                            const:isSmall="YES" const:color="red"/>
36           <var:rich-string value="item.endDate" 
37                            const:isSmall="YES" const:color="red"/>
38
39           <var:rich-string value="item.title" 
40                            const:isBold="YES" const:color="green"/>
41
42           <a var:action="increaseClicks">increase clicks</a>
43           <br/>
44         </var:js-drag>
45       </var:weekcol>
46     
47     </var:weekcol-view>
48   </form>
49
50   <var:string value="clicks"/>
51 </var:component>