public void renderAddField( String fieldName, DataFieldHolder dataFieldHolder, DataHolder dataHolder) { FieldType type = fieldTypeManager.getTypeByClass(dataFieldHolder.getClassName()); if (type == null) return; setAttribute("renderColor", dataHolder.getRenderColor()); ; setAttribute("className", dataFieldHolder.getClassName()); setAttribute("typeName", type.getCode()); setAttribute("bindingId", dataHolder.getUniqeId()); setAttribute( "showFieldName", ((fieldName != null && fieldName.length() < 17) ? fieldName : fieldName.substring(0, 13) + "...")); setAttribute("iconUri", fieldTypeManager.getIconPathForCode(type.getCode())); setAttribute("fieldName", fieldName); renderFragment("outputField"); }