Andrew- looks like in <component-extension/> you're no specifying the tag-class <mfp:tag-class>com.....BlahTag</mfp:tag-class>
-Matthias On 9/16/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: > I have the faces-config.xml generating, but the taglib.xml file is empty. > > What are the required properties to get a component included in the > taglib.xml? > > cw-base.taglib.xml: > ... DOCTYPE .. > <facelet-taglib> > <namespace>http://christws.com/components</namespace> > </facelet-taglib> > > HtmlHelpIcon.xml: > > <?xml version="1.0" encoding="utf-8"?> > <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:cw="http://christws.com/" > xmlns:xi="http://www.w3.org/2001/XInclude" > xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin" > xmlns:xhtml="http://www.w3.org/1999/xhtml"> > <component> > <description> > <![CDATA[Help icon link]]> > </description> > <component-type>com.christws.HelpIcon</component-type> > > <component-class>com.christws.faces.component.help.HtmlHelpIcon</component-class> > ... properties ... > > <component-extension> > <mfp:component-family>com.christws.HelpIcon</mfp:component-family> > <mfp:component-supertype> > org.apache.myfaces.trinidad.CoreCommandLink > </mfp:component-supertype> > <mfp:component-superclass> > org.apache.myfaces.trinidad.component.core.nav.CoreCommandLink > </mfp:component-superclass> > <mfp:renderer-type>com.christws.HelpIcon</mfp:renderer-type> > <mfp:tag-name>cw:helpIcon</mfp:tag-name> > <mfp:component-metadata> > <mfp:favorite-property>messageId</mfp:favorite-property> > </mfp:component-metadata> > </component-extension> > </component> > </faces-config> > > pom.xml: > ... > <plugin> > <groupId>org.apache.myfaces.trinidadbuild</groupId> > <artifactId>maven-faces-plugin</artifactId> > <configuration> > <taglibs> > <cw>http://christws.com/components</cw> > </taglibs> > > <faceletHandlerClass>com.christws.faces.component.BaseComponentHandler</faceletHandlerClass> > <typePrefix>com.christws</typePrefix> > <renderKitPrefix>com.christws</renderKitPrefix> > <packageContains>com.christws</packageContains> > <removeRenderers>true</removeRenderers> > <force>false</force> > </configuration> > <executions> > <execution> > <goals> > <goal>generate-faces-config</goal> > <!-->goal>generate-jsp-taglibs</goal--> > <goal>generate-facelets-taglibs</goal> > <goal>generate-renderer-map</goal> > </goals> > </execution> > </executions> > </plugin> > ... > > What am I missing? > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

