2 Replies Latest reply on Feb 25, 2008 3:21 AM by liumin hu

    Richfaces 3.1.4 and Facelets 1.1.14 doctype error

    Joachim Skeie Newbie

      I have a simple facelet application set up. However, when the template is used I get a new <!doctype declaration in the middle of the file (after the templates tag. This causes an error of course:

      Location: http://localhost:8080/photo/richtest.jsf
      Line Number 77, Column 9:<body><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      


      Has anyone run into this, and is there a fix for this issue ? I have set up the application according to the facelet example on Suns webpage and cross-referenced to the Richfaces documentation. I cant seem to find anything wrong with the setup.

      I am deploying to JBoss 4.2.2.

      Thank you for any help!