Hi Forum, I have made a small change to HtmlFormRenderer.java to fix the ugly IE table empty cell rendering for ofbiz release 4.0. Unfortunately, my code is not synched with SVN so I can't submit a patch. My changes below are pretty obvious though.
Regards, Chris public void renderDisplayField(StringBuffer buffer, Map context, DisplayField displayField) { ModelFormField modelFormField = displayField.getModelFormField(); StringBuffer str = new StringBuffer(); if (UtilValidate.isNotEmpty(modelFormField.getWidgetStyle()) || modelFormField.shouldBeRed(context)) { str.append(""); } if (str.length() > 0) { buffer.append(str); } String description = displayField.getDescription(context); // CHS FIX - START if (description.trim().equals("")) { this.renderFormatEmptySpace(buffer, context, modelFormField.getModelForm()); } // CHS FIX - END //Replace new lines with <br> description = description.replaceAll("\n", "<br>"); buffer.append(description); if (str.length() > 0) { buffer.append(""); } if (displayField instanceof DisplayEntityField) { this.makeHyperlinkString(buffer, ((DisplayEntityField) displayField).getSubHyperlink(), context); } this.appendTooltip(buffer, context, modelFormField); //this.appendWhitespace(buffer); } -- View this message in context: http://www.nabble.com/IE-ugly-rendering-of-emptycells-tp23416599p23416599.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.