* Table formatter which formats cell values using the data set properties.
*/
public class DataSetTableFormatter extends TableFormatter {
protected String formatCellValue(Table table, int row, int column) {
DataSetTable dataSetTable = (DataSetTable) table;
DataProperty property = dataSetTable.getDataProperty(column);
if (property == null) return "";
DataPropertyFormatter formatter = DataFormatterRegistry.lookup().getPropertyFormatter(property.getPropertyId());
return StringEscapeUtils.escapeHtml(formatter.formatValue(property, table.getValueAt(row, column), LocaleManager.currentLocale()));
}