Re: JScookMenu is not rendered with Facelets

2006-09-21 Thread alexeinov



Martin Marinschek wrote:
> 
> Pleaaaseee put the fix back in the wiki as well.
> 

As I discovered now, there already is a fixed version of a taglib there. It
was just very stupid of me not to notice it :(

/Alexei
-- 
View this message in context: 
http://www.nabble.com/JScookMenu-is-not-rendered-with-Facelets-tf2303975.html#a6428171
Sent from the My Faces - Dev mailing list archive at Nabble.com.



Re: JScookMenu is not rendered with Facelets

2006-09-21 Thread alexeinov



Thomas Spiegl wrote:
> 
> So now we got it. The rederer-type is missing in your
> /WEB-INF/tomahawk.taglib.xml
> 

Bingo! It was that. I took taglib from MyFaces Wiki, and the renderer-type
was missing in it for some reason.

Thanks a lot Thomas! 
You saved my day.

/Alexei
-- 
View this message in context: 
http://www.nabble.com/JScookMenu-is-not-rendered-with-Facelets-tf2303975.html#a6426441
Sent from the My Faces - Dev mailing list archive at Nabble.com.



RE: JScookMenu is not rendered with Facelets

2006-09-21 Thread alexeinov



Tom Innes wrote:
> 
> 
> There is a bug however if you try to override the Stylesheet.
> 
> 

Thanks for reply, Tom. My problem is that the menu is not rendered at all.
The following line of HTML is all that I get in the rendered page:


I never come to the point where the stylesheet could be a problem. Anyway, I
applied the fix suggested in
https://issues.apache.org/jira/browse/TOMAHAWK-575 but it does not change
anything.

I tried MyFaces and Tomahawk both 1.1.3 and 1.1.5 snapshot - same result.

There must be something special about Facelets and JSCookMenu that I'm
missing. The tag is described in /WEB-INF/tomahawk.taglib.xml as


jscookMenu

org.apache.myfaces.JSCookMenu



faces-config definse JSCookMenu as

org.apache.myfaces.JSCookMenu
org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu


Still something is wrong
-- 
View this message in context: 
http://www.nabble.com/JScookMenu-is-not-rendered-with-Facelets-tf2303975.html#a6423955
Sent from the My Faces - Dev mailing list archive at Nabble.com.



JScookMenu is not rendered with Facelets

2006-09-20 Thread alexeinov

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



http://myfaces.apache.org";
/>






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






http://myfaces.apache.org";
/>






-- 
View this message in context: 
http://www.nabble.com/JScookMenu-is-not-rendered-with-Facelets-tf2303975.html#a6404005
Sent from the My Faces - Dev mailing list archive at Nabble.com.