}
protected DataViewItem createItem(M model) {
Map<String, Object> values = model.getProperties();
if (view.getTemplate() != null && view.getTemplate().getStringProvider() != null) {
ModelStringProvider provider = view.getTemplate().getStringProvider();
for (String s : values.keySet()) {
String val = provider.getStringValue(model, s);
if (val != null) {
values.put(s, val);
}
}
}