Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Screen Widget Redesign - fixed widget boundary comments.

  • Loading branch information...
commit ec75418210b5e2af37b8857d9ab7f51282266472 1 parent b0309dc
@adrian-crum adrian-crum authored
View
4 framework/widget/src/org/ofbiz/widget/html/HtmlMenuRenderer.java
@@ -129,13 +129,13 @@ private void renderMenuClose(Appendable writer, Map<String, Object> context, Mod
writer.append("</div>");
appendWhitespace(writer);
if (ModelWidget.widgetBoundaryCommentsEnabled(context)) {
- renderEndingBoundaryComment(writer, "Menu Widget", modelMenu);
+ writer.append(buildBoundaryComment("End", "Menu Widget", modelMenu.getBoundaryCommentName()));
}
}
private void renderMenuOpen(Appendable writer, Map<String, Object> context, ModelMenu modelMenu) throws IOException {
if (ModelWidget.widgetBoundaryCommentsEnabled(context)) {
- renderBeginningBoundaryComment(writer, "Menu Widget", modelMenu);
+ writer.append(buildBoundaryComment("Begin", "Menu Widget", modelMenu.getBoundaryCommentName()));
}
writer.append("<div");
String menuId = modelMenu.getId();
Please sign in to comment.
Something went wrong with that request. Please try again.