. Dashboards impl checkpoint

- Dashboard configuration wizard - finished column editing page
  - Fixed 3 column layout to display correctly
  - Added some fake example dashlets so we can play with the layouts and config etc.
  - Added a FreeMarker template based dashlet component as an example

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-07-21 11:07:31 +00:00
parent 6cb76e8190
commit 6e095ad6dc
20 changed files with 331 additions and 68 deletions

View File

@@ -71,6 +71,7 @@ public class DashboardManager
public void initDashboard()
{
this.renderingList = null;
this.titleList = null;
}
/**
@@ -157,9 +158,6 @@ public class DashboardManager
pageConfig.addPage(page);
}
}
// persist the initial config for this user
//PreferencesService.getPreferences().setValue(PREF_DASHBOARD, pageConfig.toXML());
}
this.pageConfig = pageConfig;
@@ -174,6 +172,11 @@ public class DashboardManager
public void savePageConfig(PageConfig config)
{
this.pageConfig = config;
// reset cached values
initDashboard();
// persist the changes
PreferencesService.getPreferences().setValue(PREF_DASHBOARD, this.pageConfig.toXML());
}