You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Clément Maignien <c....@edic-syliance.com> on 2005/08/23 08:46:51 UTC

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:henri-philippe.delbrouck@siemens.com] 
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>
                    &nbsp;&nbsp;
            </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:guil44778@yahoo.com] 
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