myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rogerio Saulo (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Created: (MYFACES-196) JSCookMenu Children Menus Problem
Date Mon, 18 Apr 2005 13:27:47 GMT
JSCookMenu Children Menus Problem
---------------------------------

         Key: MYFACES-196
         URL: http://issues.apache.org/jira/browse/MYFACES-196
     Project: MyFaces
        Type: Bug
    Versions: 1.0.9 beta    
 Environment: MyFaces 1.0.9, Windows XP SP1, Tomcat 5.5
    Reporter: Rogerio Saulo
    Priority: Critical


I have upgraded to MyFaces 1.0.9 (Was in the 1.0.7) and the JSCookMenu dos not work anymore.
My children menus does not appear on the menu, I have installed the MyFacesExamples and the
last menu "Info" does not work too. Only the top level menus appear.
 
Here is My code :
 
JSP :
 
<x:jscookMenu layout="hbr" theme="ThemeIE" >

	<x:navigationMenuItems id="menus" value="#{menuBean.menus}" />

</x:jscookMenu>

MenuBean :

public String getMenus() {

	NavigationMenuItem menu[] = new NavigationMenuItem[1];
	menu[0] = new NavigationMenuItem("Rogerio", null, null, true);
	NavigationMenuItem items[] = new NavigationMenuItem[2];
	menu[0].setNavigationMenuItems(items);
	items[0] = new NavigationMenuItem("Rogerio Filho 1", "go_contact", null, false);
	items[1] = new NavigationMenuItem("Rogerio Filho 2", "go_copyright", null, false);
	return menu;

} 

Rogerio


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