JSCookMenu: Icon field should be null instead of empty string if not specify in
navigationMenuItem
--------------------------------------------------------------------------------------------------
Key: MYFACES-306
URL: http://issues.apache.org/jira/browse/MYFACES-306
Project: MyFaces
Type: Bug
Reporter: Cheng Kai Cheung
In my application, I have no icon in all menu items. I wrote the following in
my JSP, without using the 'icon' attribute.
<x:navigationMenuItem id="nav_0" itemLabel="#{navigation_messages['home']}"
action="go_home"/>
However, the javascript generated is:
[['', 'Home', '_id6:go_home', '#', null], ... ]
But what I expect should be:
[[null, 'Home', '_id6:go_home', '#', null], ... ]
If null string is generated, JSCookmenu will ignore javascript property
"mainFolderLeft" in theme.js, causing some spacing problem between menu items.
KC
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira