Wiki source code of WebHomeTemplateIMC

Last modified by Eugen Colesnicov on 2013/03/24 06:16

Show last authors
1 {{velocity}}
2 {{html wiki="true"}}
3
4 $xwiki.ssx.use("etvcCVcode.WebHomeTemplate")
5 #set($docextras = [])
6
7 #set($columns = [
8 "DateSubmitted",
9 "Job",
10 "FirstName",
11 "LastName",
12 "Gender",
13 "DateOfBirth",
14 "EMail",
15 "PhoneNo",
16 "_attachments",
17 "_actions"
18 ])
19 #set($columnsProperties = {
20 "DateSubmitted" : { "type" : "date" },
21 "Job" : { "type" : "list" },
22 "FirstName" : { "type" : "text", "link" : "view" },
23 "LastName" : { "type" : "text", "link" : "view" },
24 "Gender" : { "type" : "list" },
25 "DateOfBirth" : { "type" : "date" },
26 "EMail" : { "type" : "text" },
27 "PhoneNo" : { "type" : "text" },
28 "_attachments" : { "type" : "text", "filterable" : false, "sortable" : false },
29 "_actions" : { "actions": ["edit","delete"]}
30 })
31 #set($options = {
32 "className" : "etvcCVcode.CurriculumClass",
33 "translationPrefix" : "cv.livetable.",
34 "rowCount" : 20,
35 "pageSizeBounds" : [20,200,20]
36 })
37
38 <div class="smallLivetableContainer">
39 #livetable("cv" $columns $columnsProperties $options)
40 </div>
41
42 {{/velocity}}