Clement, Thank you for your help. Fortunately, I found last evening (ouf ! ;-) )what was wrong. It was totally my fault. A typing error causes a submenu to be null and an exception trows in the servlet. Now it works (I still have to solve some icon problems).
As Martin Marinscheck proposed, I will put some hints about this stuff in the wiki page as this could help other people wanting to use dynamic menu. This could be also a good idea if other people who spend some time to make working other dynamic widget (e.g. tree2) could put also example and hints on the wiki pages. I find that the main problem is when there is a problem, we don't have a lot of debug information as we only see an exception in the servlet without any further information. Do you know if it is possible to have more debug information in order to gain time when the code is not 100% correct. Henri-Philippe -----Original Message----- From: Clément Maignien [mailto:[EMAIL PROTECTED] Sent: mardi 23 août 2005 8:47 To: MyFaces Discussion Subject: RE : help moving from public 1.0.9 to nightly build Would it be possible to see the java source code of your MainDynamicMenu to see how you instanciate and initialize your navItems ? Thx Clément -----Message d'origine----- De : Delbrouck, Henri-Philippe [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 août 2005 18:44 À : 'MyFaces Discussion' Objet : RE: help moving from public 1.0.9 to nightly build Guilherme, I have simplified my page in order to identify what is the problem. Unfotunately, I can't make it running (I need probably further knowledge ;-)). Here is my simple page: <f:view> hello world <h:outputText> output text </h:outputText> <h:panelGroup id="sfooter"> <f:verbatim> Copyright (c) 2003-2005 <a href="http://myfaces.apache.org" class="pageFooter">The MyFaces Team</a> </f:verbatim></h:panelGroup> <f:facet name="header"> <f:subview id="header"> <h:panelGrid id="header_group2" columns="1" styleClass="pageHeader2" columnClasses="pageHeader2col1" > <t:jscookMenu layout="hbr" theme="ThemePanel" > <t:navigationMenuItems value="#{MainDynamicMenu.navItems}" /> </t:jscookMenu> </h:panelGrid> </f:subview> </f:facet> </f:view> When I use static menu, this works well. By replacing the static by a dynamic, it fails. I unfortunately have no idea about the problem. Did you have any further to identify the problem. Thank you Henri-Philippe -----Original Message----- From: Guilherme Gomes [mailto:[EMAIL PROTECTED] Sent: lundi 22 août 2005 17:10 To: MyFaces Discussion Subject: RE: help moving from public 1.0.9 to nightly build In your page that has the jscook menu , you have : <%@ taglib uri="http://myfaces.apache.org/extensions"; prefix="t"%> where it should be: <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %> Remember : all myfaces - specific components are now in tomahawk, and jscook menu is one of them. You did not specify which page had the jscook menu in the main page, I'm going to assume it is the "page_header.jsp" in the header facet. I am using tiles instead of a <jsp:include page="page_header.jsp" /> , don't know that much about jsp itself, but if it is just inserting the jsp code before myafces picks it up, it's ok. Otherwise...in my header i have everything inside a <f:subview id="iheader"> </f:subview> pair. Might be another possible reason for that exception. On the MainDynamicMenu bean, as far as i can see, it is fine. Also make sure you have the extensionFilter properly configured in the web.xml....it must also be mapped to /faces/* , besides the *.jsf mapping. Let me know if anything helps. Regards Guilherme Gomes ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

