Wiki source code of WebHomeTemplate

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

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 ## Specific project (SpecificProject: TextArea)
9 ## First name (FirstName: String)
10 ## Last name (LastName: String)
11 ## Gender (Gender: Static List)
12 ## Date of birth (DateOfBirth: Date)
13 ## Citizenships (Citizenships: Database List)
14 ## Country of residence (CountryOfResidence: Database List)
15 ## City of residence (CityOfResidence: String)
16 ## Address (Address: TextArea)
17 ## E-Mail (EMail: String)
18 ## Phone no. (PhoneNo: String)
19 ## Highest degree obtained (HighestDegreeObtained: Database List)
20 ## Total years of experience (TotalYearsOfExperience: Number)
21 ## Countries of experience (CountriesOfExperience: Database List)
22 ## Most important projects (MostImportantProjects: TextArea)
23 ## Languages (Languages: Database List)
24 ## Comments (Comments: TextArea)
25 ## ##Interview note (InterviewNote: Number)
26 ## ##Interview comments (InterviewComments: TextArea)
27 #set($columns = [
28 "SubmissionCountry",
29 "DateSubmitted",
30 "SpecificProject",
31 "FirstName",
32 "LastName",
33 "Gender",
34 "DateOfBirth",
35 "Citizenships",
36 "CountryOfResidence",
37 "CityOfResidence",
38 "Address",
39 "EMail",
40 "PhoneNo",
41 "HighestDegreeObtained",
42 "TotalYearsOfExperience",
43 "CountriesOfExperience",
44 "BackgroundExperience",
45 "Languages",
46 "_attachments",
47 "_actions"
48 ])
49 #set($columnsProperties = {
50 "SubmissionCountry" : { "displayName" : "Country of subm." , "type" : "text" },
51 "DateSubmitted" : { "displayName" : "Date subm." , "type" : "date" },
52 "SpecificProject" : { "displayName" : "Specific project" , "type" : "text" },
53 "FirstName" : { "displayName" : "First name" , "type" : "text", "link" : "view" },
54 "LastName" : { "displayName" : "Last name" , "type" : "text", "link" : "view" },
55 "Gender" : { "displayName" : "Gender" , "type" : "list" },
56 "DateOfBirth" : { "displayName" : "Birthday" , "type" : "date" },
57 "Citizenships" : { "displayName" : "Citizenships" , "type" : "list" },
58 "CountryOfResidence" : { "displayName" : "Country of resid." , "type" : "list" },
59 "CityOfResidence" : { "displayName" : "City of resid." , "type" : "text" },
60 "Address" : { "displayName" : "Address" , "type" : "text" },
61 "EMail" : { "displayName" : "EMail" , "type" : "text" },
62 "PhoneNo" : { "displayName" : "Phone No" , "type" : "text" },
63 "HighestDegreeObtained" : { "displayName" : "Highest degree" , "type" : "list" },
64 "TotalYearsOfExperience" : { "displayName" : "Experience" , "type" : "text" },
65 "CountriesOfExperience" : { "displayName" : "Countries of exper." , "type" : "list" },
66 "BackgroundExperience" : { "displayName" : "Background/Experience" , "type" : "text" },
67 "Languages" : { "displayName" : "Languages" , "type" : "list" },
68 "_attachments" : { "displayName" : "Attachments" , "type" : "text", "filterable" : false, "sortable" : false },
69 "_actions" : { "displayName" : "Actions" , "actions": ["edit","delete"]}
70 })
71 #set($options = {
72 "className" : "etvcCVcode.CurriculumClass",
73 "translationPrefix" : "cv.livetable.",
74 "rowCount" : 20,
75 "pageSizeBounds" : [20,200,20]
76 })
77
78 <div class="smallLivetableContainer">
79 #livetable("cv" $columns $columnsProperties $options)
80 </div>
81
82 {{/velocity}}