The Tomahawk Datatable IS the extended datatable you refer to in your link.
It was previously called the ext datatable in one of the older versions.

 

Likewise I use Facelets and the Tomahawk datatable.  The only issue I have
is with auto sorting for which I created issue for a couple of months ago.
The workaround for sorting is to a t:commandSortHeader and implement your
own sorting algorithm.

 

As previously mentioned follow the directions on
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk.  Take everything
highlighted in the Example and paste it into a file called
tomahawk.taglib.xml.  This file is then referenced from your web.xml.  Do
not rename <tag-name>dataTable</tag-name> or any of the package names.

 

There is also steps that you need to take that are referenced on the
Facelets website.

 

Tom

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Dudu
Sent: Wednesday, November 29, 2006 12:48 PM
To: MyFaces Discussion
Subject: Re: Using Tomahawk Table with facelets

 

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 < <mailto:[EMAIL PROTECTED]>
[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(ApplicationIm
pl.java:389)
> >  at
> >
com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.j
ava: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.j
ava: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 

Reply via email to