OFBIZ-6927
Add width and height attributes retrieval in renderLink method in MacroMenuRenderer. Thanks Pierre for the report. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1735738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -204,6 +204,8 @@ public class MacroMenuRenderer implements MenuStringRenderer {
|
||||
parameters.put("style", link.getStyle(context));
|
||||
parameters.put("name", link.getName(context));
|
||||
parameters.put("text", link.getText(context));
|
||||
parameters.put("height", link.getHeight());
|
||||
parameters.put("width", link.getWidth());
|
||||
parameters.put("targetWindow", link.getTargetWindow(context));
|
||||
StringBuffer uniqueItemName = new StringBuffer(menuItem.getModelMenu().getName());
|
||||
uniqueItemName.append("_").append(menuItem.getName()).append("_LF_").append(UtilMisc.<String> addToBigDecimalInMap(context, "menuUniqueItemIndex", BigDecimal.ONE));
|
||||
|
||||
Reference in New Issue
Block a user