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



Reply via email to