A patch from Christian Carlow for "FOP rendered list form widgets do not work for fields with postition > 0" https://issues.apache.org/jira/browse/OFBIZ-6354
This patch adds the new list form widget header methods to the deprecated HtmlFormRenderer needed by EmailServices.java to handle OFBIZ-6360 until replaced with MacroFormRender. jleroux: completes r1710527 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710528 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1327,6 +1327,18 @@ public class HtmlFormRenderer extends HtmlWidgetRenderer implements FormStringRe
|
||||
}
|
||||
renderEndingBoundaryComment(writer, "Form Widget - Formal List Wrapper", modelForm);
|
||||
}
|
||||
|
||||
public void renderFormatHeaderOpen(Appendable writer, Map<String, Object> context, ModelForm modelForm) throws IOException {
|
||||
writer.append(" <thead");
|
||||
writer.append(">");
|
||||
appendWhitespace(writer);
|
||||
}
|
||||
|
||||
public void renderFormatHeaderClose(Appendable writer, Map<String, Object> context, ModelForm modelForm) throws IOException {
|
||||
writer.append(" </thead");
|
||||
writer.append(">");
|
||||
appendWhitespace(writer);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.ofbiz.widget.form.FormStringRenderer#renderFormatHeaderRowOpen(java.io.Writer, java.util.Map, org.ofbiz.widget.form.model.ModelForm)
|
||||
|
||||
Reference in New Issue
Block a user