1 Reply Latest reply on Oct 19, 2010 8:50 AM by Peter Lopen

    facelets not reading taglibs from jars

    Peter Lopen Newbie

      Hello,

       

      I have a problem with facelets library ignoring taglibs definition from jar files placed in WEB-INF/lib directory. Following code in method TagLibraryConfig.loadImplicit returns empty urls array.

       

              ClassLoader cl = Thread.currentThread().getContextClassLoader();

              URL urls[] = Classpath.search(cl, "META-INF/", ".taglib.xml");

      Does anybody have an idea what could be the problem? Thank you.
      Jboss: 5.1.0.GA
      facelets: jsf-facelets-1.1.14.jar
      getContextClassLoader() returns org.jboss.web.tomcat.service.WebCtxLoader$ENCLoader
      Peter

       

       

              ClassLoader cl = Thread.currentThread().getContextClassLoader();
              URL urls[] = Classpath.search(cl, "META-INF/", ".taglib.xml");