Yes ... I did. The Tag worked well when I had it within a "h:column" tag. But since the Tag generates a dynamic number of columns (then I used <td>s in the tag), I had a <td><td>...</td><td>...</td></td> in the generated html. The browser has had no problem, but I didn't like this kind of hack. So I tried to use "t:dataTable" with "t:columns". If I paste the tag source into the main file, it works - but it doesn't if I have the t:columns in the tag.
"Mikael Andersson" An: "MyFaces Discussion" <users@myfaces.apache.org> <[EMAIL PROTECTED] Kopie: .com> Thema: Re: Tomahawk / Facelets 19.07.2006 12:46 Bitte antworten an "MyFaces Discussion" Did you declared the namespace for 'le' in the file using the tag? You should also declare the namespace to be used in you taglib file, ex: <facelet-taglib> <namespace>kontoname</namespace> <tag> <tag-name>kontoname</tag-name> <source>kontoname.xhtml</source> </tag> </facelet-taglib> On 19/07/06, Marcus Schmidke <[EMAIL PROTECTED]> wrote: Hello All, I'm trying to use Tomahawk together with Facelets. I've installed the tomahawk-facelets.jar from Wiki into my WEB-INF/lib directory, and the simple things work well. But I've got a problem using Tomahawk components in Facelets components. I've created a taglib on my own containing the following tag: <tag> <tag-name>kontoname</tag-name> <source>kontoname.xhtml</source> </tag> and the tag source file <ui:component xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html " xmlns:f="http://java.sun.com/jsf/core" xmlns:t="http://myfaces.apache.org/tomahawk" > <t:columns value="#{liste.angezeigteSpalten}" var="spalte"> <f:facet name="header"> Auftragsname </f:facet> <h:outputText value="#{kontoname.wert}"></h:outputText> </t:columns> </ui:component> But all the Tomahawk Elements in the file are ignored. The calling file looks like follows: <t:dataTable var="konto" value= "#{leistungsschein.kontozeilen.gefilterteListe}"> <h:column> <f:facet name="header"> Datum </f:facet> <h:outputText value="#{leistungsschein.iterDatum}" /> </h:column> <le:kontoname konto="#{konto}" liste="#{ leistungsschein.kontozeilen}" /> </t:dataTable> Is it possibly impossible to user "le:kontoname" as child of "t:dataTable"? Or am I doing wrong anything else? Any idea what I can do? Thank you! Regards, Marcus. _____________________________________________________________________ prosystems IT GmbH Anwendungsentwicklung Postfach 31 51 53021 Bonn (Germany) Tel: 0228 / 3366 - 3329, Fax: 0228 / 3366 - 73329 mailto:[EMAIL PROTECTED] http://www.prosystemsIT.de Amtsgericht Bonn - HR B 13189 _____________________________________________________________________ prosystems IT GmbH Anwendungsentwicklung Postfach 31 51 53021 Bonn (Germany) Tel: 0228 / 3366 - 3329, Fax: 0228 / 3366 - 73329 mailto:[EMAIL PROTECTED] http://www.prosystemsIT.de Amtsgericht Bonn - HR B 13189