3 Replies Latest reply on Aug 7, 2009 4:45 PM by Alexander Smirnov

    Problems using <rich:page>

    Greg Noe Newbie

      Hi All,

      I'm having an issue with the <rich:page> tag. I keep getting the following error when a page is rendered:

      Aug 4, 2009 1:43:26 PM com.sun.facelets.tag.jsf.ComponentRule warnAttr
      WARNING: /pages/homeSinglePanel.xhtml @14,3 xmlns="http://www.w3.org/1999/xhtml" Property '' is not on type: org.richfaces.component.html.HtmlPage

      The line number and character position given in the error message always corresponds to the opening <rich:page> tag.

      When I first started working with the <rich:page> tag and I would get this error it usually meant that there was an error in my HTML somewhere, or there was a comment in the HTML. Now I'm getting this error all the time, even when I completely strip the HTML down to the bare essentials for troubleshooting. Another side effect of the error is that the width attribute on the <rich:page> tag is being ignored (but I can set the page width via css).

      Here's the source for the stripped down page:
       markupType="xhtml" contentType="text/html"
       theme="" width="850" pageTitle="#{pageController.pageTitle}"
       headerClass="hdrClass" footerClass="ftrClass" bodyClass="bdyClass">
       <f:facet name="pageHeader">
       <link rel="stylesheet" type="text/css" href="css/masterSinglePanel.css" />
       <f:facet name="header">
       <h:outputText value="Header" />
       <h:outputText value="Body" />
       <f:facet name="footer">
       <h:outputText value="Footer" />

      My environment:

      Tomcat 6.0.20 (Managed through JBoss tools in Eclipse 3.5)
      RichFaces 3.3.1
      JSF 1.2