but the dataTable is equal this http://myfaces.apache.org/tomahawk/extDataTable.html ?I was trying to use the extended data table. I'll try more at night.
On 11/29/06, Sean Schofield <[EMAIL PROTECTED]> wrote:
I'm using Tomahawk dataTable just fine with facelets. Mike's excellent wiki and the developer docs on the facelets site is all you need. Sean On 11/28/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > My guess is that the tomahawk.jar isn't in your classpath. > > Rather than invent a new "table" taglib definition, simply use the > existing "t:dataTable" tag. > > > On 11/28/06, Dudu <[EMAIL PROTECTED]> wrote: > > I'm trying to use the component Table of tomahawk 1.1.3. I've followed the > > page > > http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk > > but this error is occuring. > > > > What I need to do? > > > > In My WEB-INF/tomahawk.taglib.xml has the table defined as bellow: > > > > <tag> > > <tag-name>table</tag-name> > > <component> > > <component-type> > > > > org.apache.myfaces.component.html.ext.HtmlDataTable > > </component-type> > > <renderer-type>org.apache.myfaces.Table</renderer-type> > > </component> > > </tag> > > I do this reading the component page: > > > > http://myfaces.apache.org/tomahawk/extDataTable.html > > > > > > the error: > > javax.faces.FacesException: Undefined component type > > org.apache.myfaces.component.html.ext.HtmlDataTable > > > > at > > org.apache.myfaces.application.ApplicationImpl.createComponent( ApplicationImpl.java:389) > > at > > com.sun.facelets.tag.jsf.ComponentHandler.createComponent( ComponentHandler.java:224) > > at com.sun.facelets.tag.jsf.ComponentHandler.apply > > (ComponentHandler.java:135) > > at > > com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58) > > at > > com.sun.facelets.tag.ui.CompositionHandler.apply( CompositionHandler.java:128) > > at > > com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply > > (DefaultFaceletContext.java:306) > > at > > com.sun.facelets.impl.DefaultFaceletContext.includeDefinition( DefaultFaceletContext.java:279) > > at > > com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) > > at com.sun.facelets.tag.CompositeFaceletHandler.apply > > (CompositeFaceletHandler.java:47) > > at > > com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java :49) > > at > > com.sun.facelets.tag.CompositeFaceletHandler.apply( CompositeFaceletHandler.java:47) > > at com.sun.facelets.compiler.EncodingHandler.apply > > (EncodingHandler.java:25) > > at > > com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) > > at > > com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) > > at com.sun.facelets.impl.DefaultFacelet.include > > (DefaultFacelet.java:273) > > at > > com.sun.facelets.impl.DefaultFaceletContext.includeFacelet( DefaultFaceletContext.java:143) > > at > > com.sun.facelets.tag.ui.CompositionHandler.apply( CompositionHandler.java:113) > > at com.sun.facelets.compiler.NamespaceHandler.apply > > (NamespaceHandler.java:49) > > at > > com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java :25) > > at > > com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) > > at com.sun.facelets.FaceletViewHandler.buildView > > (FaceletViewHandler.java:510) > > at > > com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java :553) > > at > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java :384) > > at javax.faces.webapp.FacesServlet.service > > (FacesServlet.java:138) > > >
-- Dudu GoogleTalk: eduardopichler[at]gmail[dot]com skype:eduardopichler