JSCookMenu separator bug - phantom item
---------------------------------------
Key: MYFACES-588
URL: http://issues.apache.org/jira/browse/MYFACES-588
Project: MyFaces
Type: Bug
Components: Tomahawk
Versions: Nightly Build
Environment: tomcat 5.0, jdk1.4.2_09, jbuilder 2005, winxp, intel p4
Reporter: Zoltán Baranyi
Priority: Trivial
These tag lines
<t:jscookMenu layout="hbr" theme="ThemeOffice">
<t:navigationMenuItem itemLabel="Menu1" itemValue="Menu1" value="Menu1">
<t:navigationMenuItem itemLabel="Menu1-1" itemValue="Menu1-1"
value="Menu1-1"> </t:navigationMenuItem>
<t:navigationMenuItem split="true"> </t:navigationMenuItem>
<t:navigationMenuItem itemLabel="Menu1-2" itemValue="Menu1-2"
value="Menu1-2"> </t:navigationMenuItem>
</t:navigationMenuItem>
</t:jscookMenu>
produces this output
var id2_menu =
[
[null, 'Menu1', null, 'linkDummyForm', null,
[null, 'Menu1-1', null, 'linkDummyForm', null],
_cmSplit,
[null, '0', null, 'linkDummyForm', null],
[null, 'Menu1-2', null, 'linkDummyForm', null]
]
];
So the split item was rendered twice: the separator item, and a "phantom" item.
--
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