myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Aranda (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-588) JSCookMenu separator bug - phantom item
Date Thu, 29 Sep 2005 19:31:49 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-588?page=comments#action_12330860 ] 

Bruno Aranda commented on MYFACES-588:
--------------------------------------

Thanks Keijo :-)

> 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


Mime
View raw message