2 Replies Latest reply on Mar 13, 2008 3:34 PM by Bolke de Bruin

    Named Object not Found with custom taglib

    Bolke de Bruin Newbie

      Hi,


      I have been breaking my mind over this for the past two hours and its probably very easy to solve. I have configured a custom taglib (seam 2.0.1.GA) in web.xml, and its compnents specified in faces-config.xml. Thus:


      web.xml


        <context-param>
           <param-name>facelets.LIBRARIES</param-name>
           <param-value>/WEB-INF/chemix.taglib.xml</param-value>
         </context-param>
      



      faces-config.xml


       <component>
        <component-type>nl.chainsoftware.chemix.component.UITranslation</component-type>
         <component-class>nl.chainsoftware.chemix.component.UITranslation</component-class>
       </component>
      



      chemix.taglib.xml


      <facelet-taglib>
          <namespace>http://www.chainsoftware.nl/chemix</namespace>
          <tag>
              <tag-name>translation</tag-name>
              <component>
                  <component-type>nl.chainsoftware.chemix.component.UITranslation</component-type>
              </component>
          </tag>
      </facelet-taglib>
      



      However I get


      Expression Error: Named Object: nl.chainsoftware.chemix.component.UITranslation not found.
      



      Like said I probably overlook something, but dont know what. Someone else an idea? Thanks in advance!