1. Created folder structure for the theme components (css, images, js) so that visualizations can become theme agnostic.

2. Modified FreeMarkerized (FM) sparklines on the profile page to actually make calls to freemarker version of person publication count sparkline. (TODO: currently the code to replace "/visualization" with "/visualizationfm" is hard coded. Thsi will be resolved once change is made in IndividualController to call FM personPubCount controller.)
3. Added new templates for FM version of visualizations. 
4. Added a new bean which recognized FM versions of visualizations.
5. Created FM branch of the visualization architecture & Person publication count visualization.
6. For Person pub count abstracted out the html/javascript code creator to be on the front end itself. (TODO: refactor SparklineData VO to remove attributes that save the html/js code.)
This commit is contained in:
cdtank 2010-12-13 20:07:51 +00:00
parent 72e24bb661
commit 7e9bcdaab2
38 changed files with 4302 additions and 1 deletions

View file

@ -26,5 +26,6 @@ var visualization = {
};
$(document).ready(function() {
visualizationUrl = visualizationUrl.replace("/visualization", "/visualizationfm");
visualization.render(visualizationUrl);
});