private void addPropertyMapSummaryDataCells(UIComponent parent, PropertyDefinitionMap listMemberMapPropertyDefinition, PropertyMap listMemberMapProperty) { for (PropertyDefinition summaryPropertyDefinition : listMemberMapPropertyDefinition .getSummaryPropertyDefinitions()) { Property mapMemberProperty = listMemberMapProperty.get(summaryPropertyDefinition.getName()); if (!(mapMemberProperty instanceof PropertySimple)) { throw new IllegalStateException("Property '" + mapMemberProperty.getName() + "' is defined as a map of simples but contains one or more non-simple members."); } PropertySimple mapMemberSimpleProperty = (PropertySimple) mapMemberProperty; FacesComponentUtility.addVerbatimText(parent, "<td class='" + PROPERTY_MAP_SUMMARY_DATA_CELL_STYLE_CLASS + "'>"); if (mapMemberSimpleProperty.getStringValue() == null) { FacesComponentUtility.addOutputText(parent, this.config, "not set", CssStyleClasses.REQUIRED_MARKER_TEXT); } else { FacesComponentUtility.addOutputText(parent, this.config, mapMemberSimpleProperty.getStringValue(), PROPERTY_MAP_SUMMARY_DATA_TEXT_STYLE_CLASS); } FacesComponentUtility.addVerbatimText(parent, "</td>\n"); } }