panelIdsToRefresh.clear();
// Inspect all the dashboard's panels.
Iterator it = getSection().getPanels().iterator();
while (it.hasNext()) {
Panel panel = (Panel) it.next();
if (panel.getProvider().getDriver() instanceof DashboardDriver) {
Long panelId = panel.getPanelId();
if (propertySet == null) {
panelIdsToRefresh.add(panelId);
} else {
DashboardDriver driver = (DashboardDriver) panel.getProvider().getDriver();
Set<DataProvider> providersUsed = driver.getDataProvidersUsed(panel);
for (int i = 0; i < propertySet.length; i++) {
String propertyId = propertySet[i];
for (DataProvider dataProvider : providersUsed) {
if (!panelIdsToRefresh.contains(panelId) && dataProvider.getDataSet().getPropertyById(propertyId) != null) {