Claudio-
that is posible!
you have to do some xml stuff...
add this to web.xml:
*snip*
<context-param>
<param-name>facelet.LIBRARIES</param-name>
<param-value>/WEB-INF/tag.xml</param-value>
</context-param>
*snip*
your tag.xml contains component and renderer types, like:
<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"http://java.sun.com/dtd/faclet-taglib_1_0.dtd">
<facelet-taglib>
<namespace>http://myfaces.apache.org/extensions</namespace>
<tag>
<tag-name>tree2</tag-name>
<component>
<component-type>org.apache.myfaces.HtmlTree2</component-type>
<renderer-type>org.apache.myfaces.HtmlTree2</renderer-type>
</component>
</tag>
</facelet-taglib>
and use the viewhandler from faclets (com.sun.facelets.FaceletViewHandler)
btw. here is a short and simple myfaces/faclets helloworld app.
http://people.apache.org/~matzew/myfacesFacelets.war
HTH,
Matthias
On 8/1/05, Claudio Tamietto <[EMAIL PROTECTED]> wrote:
> i would like to use facelets with myfaces but i don't know if it is
> compatible and how to setup it .
> Thanks for any answer .
>
>
>
--
Matthias Wessendorf