Which MyFaces version do you use? Is the MyFaces ExtensionFilter active?

On 9/20/06, Tom Innes <[EMAIL PROTECTED]> wrote:
I can't speak for Trinidad by I have JSCookMenu working with Facelets.

There is a bug however if you try to override the Stylesheet.

Look at https://issues.apache.org/jira/browse/TOMAHAWK-575 which describes
how to work around this issue.

Also look at
http://www.nabble.com/JSCookMenu-Stylesheet-and-Facelets-Problem-tf2274040.h
tml#a6314425

Tom



-----Original Message-----
From: alexeinov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 5:03 AM
To: [email protected]
Subject: JScookMenu is not rendered with Facelets


I'm trying to use JSCookMenu in an application that is based on Trinidad and
Facelets, it does not work.

JScookMenu will not render at all. I followed recommendations of MyFaces
Wiki  http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk
Use_Facelets_with_Tomahawk  and included tomahawk.taglib.xml in my WEB-INF.
After that, I checked if other Tomahawk components work, they did work. I
checked if JSCookMenu works at all with Trinidad.

I switched off Facelets and put the same menu sample into JSP, it did work.
That made me think that it's a combination of JSCookMenu and Facelets that
does not get along well. Have anybody experienced the same problem?

Here is my facelet that does not work
<html xmlns="http://www.w3.org/1999/xhtml";
                                xmlns:h="http://java.sun.com/jsf/html";
                                xmlns:f="http://java.sun.com/jsf/core";

xmlns:t="http://myfaces.apache.org/tomahawk";>
<body>
        <h:form>
    <t:jscookMenu layout="hbr" theme="ThemeOffice"
styleLocation="css/jscookmenu">
    <t:navigationMenuItem id="nav_53"
        itemLabel="Apache MyFaces Home" action="http://myfaces.apache.org";
/>

        </t:jscookMenu>
        </h:form>
</body>
</html>

And JSP that works
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>

<html>
<body>
<f:view>
        <h:form>
    <t:jscookMenu layout="hbr" theme="ThemeOffice"
styleLocation="css/jscookmenu">
    <t:navigationMenuItem id="nav_53"
        itemLabel="Apache MyFaces Home" action="http://myfaces.apache.org";
/>

        </t:jscookMenu>
        </h:form>
</f:view>
</body>
</html>
--
View this message in context:
http://www.nabble.com/JScookMenu-is-not-rendered-with-Facelets-tf2303975.htm
l#a6404005
Sent from the My Faces - Dev mailing list archive at Nabble.com.





--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to