1 Reply Latest reply on Aug 15, 2006 11:43 AM by urswag

    MyFaces tomahawk for JBoss

    urswag

      I would like to use tomahawk

      First I get this error



      javax.servlet.ServletException: The absolute uri: http://myfaces.
      apache.org/tomahawk cannot be resolved in either web.xml or the jar
      files deployed with this application
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
      (ReplyHeaderFilter.java:96)

      root cause

      javax.faces.FacesException: The absolute uri: http://myfaces.apache.
      org/tomahawk cannot be resolved in either web.xml or the jar files
      deployed with this application
      org.apache.myfaces.context.servlet.ServletExternalContextImpl.
      dispatch(ServletExternalContextImpl.java:421)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView
      (JspViewHandlerImpl.java:234)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.
      java:352)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
      (ReplyHeaderFilter.java:96)



      If I add this entry (not quite shure how useful it is)


      <init-param>
      <description>MyFaces tlds</description>
      <param-name>tagLibJar0</param-name>
      <param-value>jsf-libs/myfaces-impl.jar</param-value>
      </init-param>


      then I receive this error.



      javax.servlet.ServletException: /home.jsp(25,1) Unable to load tag handler class "org.apache.myfaces.custom.datalist.HtmlDataListTag" for tag "t:dataList"
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      root cause

      javax.faces.FacesException: /home.jsp(25,1) Unable to load tag handler class "org.apache.myfaces.custom.datalist.HtmlDataListTag" for tag "t:dataList"
      org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
      org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)




        • 1. Re: MyFaces tomahawk for JBoss
          urswag

          I have added a second entry in the web.xml of the conf directory.
          Perhaps someone can explain me the principle of the mechanism.



          <init-param>
          MyFaces tlds
          <param-name>tagLibJar1</param-name>
          <param-value>jsf-libs/tomahawk.jar</param-value>
          </init-param>