I tried putting myfaces-extensions.jar under my lib directory and I
still get the same error.

The following is what I have in my web.xml:
<taglib>
        <taglib-uri>oim.tld</taglib-uri>
        <taglib-location>/WEB-INF/tld/oim.tld</taglib-location>
</taglib>

The following is how I import my taglib in my jsp:
<%@ taglib uri="oim.tld"  prefix="o" %>

The following is my tld:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd";>
<taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>o</short-name>
    <uri>oim.tld</uri>
    <description>OIM Tags</description>
    
    <tag>
        <name>panelTab</name>
        <tag-class>com.oim.faces.custom.tabbedpane.PanelTabTag</tag-
class>
        <body-content>JSP</body-content>
        
        <description>Displays the tab panel that contains the
UITabLabel</description>
        <attribute>
            <name>label</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>Label for this tab</description>
        </attribute>
        </tag>
        
        <tag>
        <name>tabLabel</name>
        <tag-class>com.oim.faces.custom.tabbedpane.TabLabelTag</tag-
class>
        <body-content>JSP</body-content>
        <description>UICommand component that renderes a link around its
children</description>
        <attribute>
            <name>id</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
        </tag>
</taglib>

Thanks, I hope you spot something.

Curtney
On Mon, 2005-07-25 at 22:30 -0800, Dennis Byrne wrote:
> I have seen TL errors that are really vague.  How are you 
> importing the taglib at the JSP?  Humor me and try it with 
> myfaces-extensions.jar under the lib dir.  Attach your tld.
> 
> ---- Original message ----
> >Date: Mon, 25 Jul 2005 22:40:58 -0700
> >From: Curtney Jacobs <[EMAIL PROTECTED]>  
> >Subject: Loading My Custom Components  
> >To: [email protected]
> >
> >Greetings!
> >
> >I hava a custom component that extends
> >org.apache.myfaces.taglib.html.ext.HtmlPanelGroup, however, 
> when I use
> >my custom tag (and corresponding component) in my jsp I get 
> the
> >following error:
> >
> >file:/home/curtney/oim/opened/WEB-INF/tld/oim.tld:11:
> >java.lang.NoClassDefFoundError: 
> org/apache/myfaces/taglib/html/ext/HtmlPanelGroupTag
> >
> >My custom component does extends HtmlPanelGroupTag.
> >I have myfaces.jar in my WEB-INF/lib directory, so 
> everything should work.
> >
> >I have spent the better half of a day trying to debug this.
> >
> >Any suggestions?
> >
> >_Curtney
> >
> Dennis Byrne

Reply via email to