Selcuk Dogru
04/15/2024, 6:10 PMStefan Reeder
04/15/2024, 9:58 PM<#assign myHash = { "name": "mouse", "price": 50 }>
<#list myHash?values as v>
${v}
</#list>
<#list myHash?keys as k>
${k}
</#list>
Stefan Reeder
04/15/2024, 9:59 PMStefan Reeder
04/15/2024, 9:59 PMSelcuk Dogru
04/16/2024, 7:29 AM{
"date": "1/4/2024",
"day": 1,
"weekDay": "Mon",
"department": "1111 Works council",
"timesheetGroup": "EU Projects",
"hours": "8:00",
"duration": 8,
"wageRate": ".00",
"workPack": "WP1"
}
Selcuk Dogru
04/16/2024, 7:30 AMStefan Reeder
04/16/2024, 7:55 AMSelcuk Dogru
04/16/2024, 8:08 AMtemplateRenderer.addCustomDataSource({
format: render.DataSource.OBJECT,
alias: 'timedata',
data: {
"date": "1/4/2024",
"day": 1,
"weekDay": "Mon",
"department": "1111 Works council",
"timesheetGroup": "EU Projects",
"hours": "8:00",
"duration": 8,
"wageRate": ".00",
"workPack": "WP1"
}
});
Selcuk Dogru
04/16/2024, 8:09 AMSelcuk Dogru
04/16/2024, 8:12 AMStefan Reeder
04/16/2024, 12:11 PMSelcuk Dogru
04/16/2024, 12:23 PM<#list timedata?keys as key>
${key}
</#list>
Selcuk Dogru
04/16/2024, 12:24 PM<#list timedata as key, value>
${key}
</#list>
Selcuk Dogru
04/16/2024, 12:24 PMStefan Reeder
04/16/2024, 12:29 PM<#if data.timedata?has_content><#assign timedata = data.timedata/><#/if>
Selcuk Dogru
04/17/2024, 8:58 AMSelcuk Dogru
04/17/2024, 8:59 AM