[ 
http://issues.apache.org/jira/browse/MYFACES-588?page=comments#action_12330799 
] 

Keijo Nurmes commented on MYFACES-588:
--------------------------------------

I did some testing with the latest revision and everything worked fine. In the 
simple example and  in my application all menu items were in place. And I 
additionally tested original reporters issue: 'phantom item'. 
(<t:navigationMenuItem split="true"> </t:navigationMenuItem>  Seems to work 
fine! 

> JSCookMenu separator bug - phantom item
> ---------------------------------------
>
>          Key: MYFACES-588
>          URL: http://issues.apache.org/jira/browse/MYFACES-588
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.1
>  Environment: tomcat 5.0, jdk1.4.2_09, jbuilder 2005, winxp, intel p4
>     Reporter: Zoltán Baranyi
>     Assignee: Bruno Aranda
>     Priority: Trivial
>      Fix For: Nightly

>
> 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

Reply via email to