Re: Using Tomahawk Table with facelets
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-nametable/tag-name component component-type org.apache.myfaces.component.html.ext.HtmlDataTable /component-type renderer-typeorg.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)
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 [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-nametable/tag-name component component-type org.apache.myfaces.component.html.ext.HtmlDataTable /component-type renderer-typeorg.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
Re: Using Tomahawk Table with facelets
Tom Innes wrote: 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-namedataTable/tag-name or any of the package names. And please don't post code to the wiki that isn't tested. (especially when it, in fact, doesn't work) You'll have poor Mike pulling his hair out soon enough. ;) Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc.
Using Tomahawk Table with facelets
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-nametable/tag-name component component-type org.apache.myfaces.component.html.ext.HtmlDataTable /component-type renderer-typeorg.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)
Re: Using Tomahawk Table with facelets
I'm sorry! But I'm trying to use the http://myfaces.apache.org/tomahawk/extDataTable.html with facelets... Once it works, and after I've puted on wiki then the app stoped... On 11/28/06, Mike Kienenberger [EMAIL PROTECTED] wrote: Please do not add your table entry to the http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk page. It's already in this file as dataTable which is the standard name for this component. I am reverting your change again. -- Dudu GoogleTalk: eduardopichler[at]gmail[dot]com skype:eduardopichler
Re: Using Tomahawk Table with facelets
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-nametable/tag-name component component-type org.apache.myfaces.component.html.ext.HtmlDataTable /component-type renderer-typeorg.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)