DashboardFilterProperty dashboardFilterProperty = filteredProperties[i];
setAttribute("propertyId", dashboardFilterProperty.getPropertyId());
setAttribute("propertyName", StringEscapeUtils.escapeHtml(dashboardFilterProperty.getPropertyName(getLocale())));
setAttribute("index", new Integer(i));
if (dashboardFilterProperty.isLabelProperty()) {
String filterValue = dashboardFilterProperty.formatPropertyValue(dashboardFilterProperty.getPropertySelectedValues(), getLocale());
setAttribute("propertyValue", StringEscapeUtils.escapeHtml(filterValue));
renderFragment("outputLegendStringProperty");
} else {
String minValue = dashboardFilterProperty.formatPropertyValue(dashboardFilterProperty.getPropertyMinValue(), getLocale());
String maxValue = dashboardFilterProperty.formatPropertyValue(dashboardFilterProperty.getPropertyMaxValue(), getLocale());