>Has anyone been able to utilize myfaces tomahawk components with clay,
>specifically the clay html views.  Myfaces core components are working fine for me,
>I have just not yet been able to use tomahawk.
>
>In my clay-config.xml I have
>[snippet]
>
>Which I thought would enable me to use tomahawk, however I get Undefined
>component type org.apache.myfaces.component.html.ext.HtmlDataTable message
>when I try it.  
>
>Not really sure if I am doing this correctly, I just followed suit on the examples.
>
>
>Any ideas?
 
You need to add "org.apache.myfaces.HtmlDataTable" for the component type.  The componentType attribute corresponds to the "component-type" in the faces config used to register a component verses the "component-class".  If you look at the faces-config.xml in the tomahawk jar under the META-INF folder, you can see the logical component types they are registered under. 
If you run into any problems with this support, please report it on the struts mailing list and I'll make sure it gets fixed.
 
<component jsfid="dataTableTmk" componentType="org.apache.myfaces.HtmlDataTable" extends="baseHtml">
..
</component>
 
Gary

Reply via email to