/**
* Refresh those dashboard panels that are handling any of the properties specified.
* @param propertySet If null then refresh all the dashboard panels.
*/
protected void refreshPanels(String[] propertySet) throws Exception {
AjaxRefreshManager ajaxMgr = AjaxRefreshManager.lookup();
List panelIdsToRefresh = ajaxMgr.getPanelIdsToRefresh();
panelIdsToRefresh.clear();
// Inspect all the dashboard's panels.
for (Panel panel : getSection().getPanels()) {
if (panel.getProvider().getDriver() instanceof DashboardDriver) {
Long panelId = panel.getPanelId();