You can find a partial myfaces.taglib.xml file at this URL:

https://facelets.dev.java.net/servlets/ReadMsg?list=users&msgNo=90

While waiting to hear what's going on with the myfaces code gen, I've
been manually adding myfaces extensions as I use them.  So far it
contains:

aliasBean
inputCalendar
dataTable
dataScroller
columns

-Mike

On 8/1/05, Claudio Tamietto <[EMAIL PROTECTED]> wrote:
> thanks for the help
> 
> ----- Original Message -----
> From: "Matthias Wessendorf" <[EMAIL PROTECTED]>
> To: "MyFaces Discussion" <[email protected]>
> Sent: Monday, August 01, 2005 5:53 PM
> Subject: Re: facelets
> 
> 
> 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
> 
> 
>

Reply via email to