1. Refactored freemarker templates & the directory structure.

2. Made chanegs to sparkline-related ftls to use the new geenric vis code geenrator.
3. Refactored vis code geenrators to be more geenric.
This commit is contained in:
cdtank 2010-12-22 01:00:47 +00:00
parent 7dc4628302
commit a3aa585a03
20 changed files with 506 additions and 350 deletions

View file

@ -58,9 +58,9 @@
data.addColumn('number', 'Grants');
data.addRows(${sparklineVO.numOfYearsToBeRendered});
<#list sparklineVO.yearToGrantCountDataTable as yearToGrantCountDataElement>
data.setValue(${yearToGrantCountDataElement.grantCounter}, 0, '${yearToGrantCountDataElement.investigatedYear}');
data.setValue(${yearToGrantCountDataElement.grantCounter}, 1, ${yearToGrantCountDataElement.currentGrants});
<#list sparklineVO.yearToEntityCountDataTable as yearToGrantCountDataElement>
data.setValue(${yearToGrantCountDataElement.yearToEntityCounter}, 0, '${yearToGrantCountDataElement.year}');
data.setValue(${yearToGrantCountDataElement.yearToEntityCounter}, 1, ${yearToGrantCountDataElement.currentEntitiesCount});
</#list>
<#-- Create a view of the data containing only the column pertaining to grant count. -->