Jacques Le Roux
ede1994465
A patch from Leon for "NPE thrown out while rendering disabled menu item" https://issues.apache.org/jira/browse/OFBIZ-5451
...
The method "renderLink" of new class MacroMenuRenderer calls the WidgetWorker.determineAutoLinkType. When menuItem.getDisabled() is true, the link target will be set to null and NPE occurs.
jleroux: This was related with r1517353 and r1537833. The Leon's patch fixes r1517353 and this commits also reverts r1537833
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1553887 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 18:55:53 +00:00
Adrian Crum
2a48bf829d
Fixed a bug in htmlMenuMacroLibrary.ftl - menu title threw an exception.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1536217 13f79535-47bb-0310-9956-ffa450edef68
2013-10-27 23:03:54 +00:00
Adrian Crum
452b13f2a3
Fixed a bug in the menu widget rendering.
...
https://issues.apache.org/jira/browse/OFBIZ-5326
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1525605 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 14:32:32 +00:00
Adrian Crum
252de4230f
Fixed a bug in menu rendering, reported by Jacques on the dev mailing list.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1524143 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:58:13 +00:00
Adrian Crum
1f9a6fe029
Restored rev 1517353 and fixed a trivial markup error.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517611 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 17:09:41 +00:00
Hans Bakker
4ade9fd696
revert r1517353: it makes the tomahawk theme unusable
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517434 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 06:28:00 +00:00
Adrian Crum
93e9949545
Converted menu widget HTML renderer to a macro renderer.
...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1517353 13f79535-47bb-0310-9956-ffa450edef68
2013-08-25 18:00:43 +00:00