Wiki source code of WebHomeTemplateLB

Last modified by Eugen Colesnicov on 2013/03/24 15:35

Show last authors
1 {{velocity}}
2 {{html wiki="true"}}
3 $xwiki.ssx.use("etvcCVcode.WebHomeTemplate")
4 #set($docextras = [])
5
6 ## Country of submission (SubmissionCountry: Database List)
7 ## Date submitted (DateSubmitted: Date)
8 ## Job / Vacancy (Job: Database List)
9 ## Specific project (SpecificProject: TextArea)
10 ## First name (FirstName: String)
11 ## Last name (LastName: String)
12 ## Gender (Gender: Static List)
13 ## Date of birth (DateOfBirth: Date)
14 ## Citizenships (Citizenships: Database List)
15 ## Country of residence (CountryOfResidence: Database List)
16 ## City of residence (CityOfResidence: String)
17 ## Address (Address: TextArea)
18 ## E-Mail (EMail: String)
19 ## Phone no. (PhoneNo: String)
20 ## Highest degree obtained (HighestDegreeObtained: Database List)
21 ## Total years of experience (TotalYearsOfExperience: Number)
22 ## Countries of experience (CountriesOfExperience: Database List)
23 ## Most important projects (MostImportantProjects: TextArea)
24 ## Languages (Languages: Database List)
25 ## Comments (Comments: TextArea)
26 ## Company/Organization (Company: String)
27 ## Position (Position: String)
28 ## Mobile phone (MobilePhoneNo: String)
29 ## Fax no. (FaxNo: String)
30 ## Private E-Mail (PrivateEMail: String)
31
32 #set($columns = [
33 "FirstName",
34 "LastName",
35 "Company",
36 "Position",
37 "MobilePhoneNo",
38 "PhoneNo",
39 "FaxNo",
40 "EMail",
41 "PrivateEMail",
42 "CountryOfResidence",
43 "Job",
44 "Comments",
45 "_attachments",
46 "_actions"
47 ])
48 #set($columnsProperties = {
49 "SubmissionCountry" : { "type" : "list" },
50 "DateSubmitted" : { "type" : "date" },
51 "Job" : { "type" : "list" },
52 "SpecificProject" : { "type" : "text" },
53 "FirstName" : { "type" : "text", "link" : "view" },
54 "LastName" : { "type" : "text", "link" : "view" },
55 "Gender" : { "type" : "list" },
56 "DateOfBirth" : { "type" : "date" },
57 "Citizenships" : { "type" : "list" },
58 "CountryOfResidence" : { "type" : "list" },
59 "CityOfResidence" : { "type" : "text" },
60 "Address" : { "type" : "text" },
61 "EMail" : { "type" : "text" },
62 "PhoneNo" : { "type" : "text" },
63 "HighestDegreeObtained" : { "type" : "list" },
64 "TotalYearsOfExperience" : { "type" : "text" },
65 "CountriesOfExperience" : { "type" : "list" },
66 "BackgroundExperience" : { "type" : "text" },
67 "Languages" : { "type" : "list" },
68 "Comments" : { "type" : "text" },
69 "Company" : { "type" : "text" },
70 "Position" : { "type" : "text" },
71 "MobilePhoneNo" : { "type" : "text" },
72 "FaxNo" : { "type" : "text" },
73 "PrivateEMail" : { "type" : "text" },
74 "_attachments" : { "type" : "text", "filterable" : false, "sortable" : false },
75 "_actions" : { "actions": ["edit","delete"]}
76 })
77 #set($options = {
78 "className" : "etvcCVcode.CurriculumClass",
79 "translationPrefix" : "cv.livetable.",
80 "rowCount" : 30,
81 "pageSizeBounds" : [20,200,20]
82 })
83
84 <div class="smallLivetableContainer">
85 #livetable("cv" $columns $columnsProperties $options)
86 </div>
87
88 {{/velocity}}