1 Reply Latest reply on Mar 26, 2008 2:39 AM by Norman Richards

    PDF: No tag was defined for name :html

    Francisco Peredo Newbie

      Hi!


      I am using I am using Seam 2.0.1.GA and in Chapter 16 it says that I should be able to use the tag: <p:html> but if I try to do it I get the error:


      Tag Library supports namespace:
      http://jboss.com/products/seam/pdf, but no tag was defined for name:
      html


      here is the stack trace:


      11:03:48,078 ERROR [STDERR] 25/03/2008 11:03:48 AM
      com.sun.facelets.FaceletViewHandler handleRenderException
      GRAVE:
      Error Rendering View[/Pdf/prueba.xhtml]
      com.sun.facelets.tag.TagException: /Pdf/prueba.xhtml @6,69
      <p:html> Tag Library supports namespace:
      http://jboss.com/products/seam/pdf, but no tag was defined for name:
      html
          at
      com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193)
          at
      com.sun.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:194)
          at
      org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
      Source)
          at
      org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
      Source)
          at
      org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
      Source)
          at
      org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
      Source)
          at
      org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
      Source)
          at
      org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
          at
      org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
          at org.apache.xerces.parsers.XMLParser.parse(Unknown
      Source)
          at
      org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
          at
      org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
      Source)
          at
      javax.xml.parsers.SAXParser.parse(Unknown Source)
         
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
          at
      com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:232)
          at
      com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
          at
      com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
          at
      com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
          at
      com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
          at
      com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:517)
          at
      com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
          at
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
          at
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
          at
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
          at
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
          at
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
          at
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
          at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
          at
      org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
          at
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
          at
      org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
          at
      org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
          at
      org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
          at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at
      org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at
      org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at
      org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
          at
      org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          at
      org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
          at
      org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
          at
      org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
          at
      org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at
      org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at
      org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          at
      org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at
      org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
          at
      org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
          at
      org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at
      org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
          at java.lang.Thread.run(Unknown Source)
      



      All other PDF tags are working... is this a documentation error and this html2pdf tag is not implemented?


      Thanks,