4 Replies Latest reply on Oct 26, 2010 7:41 AM by Agustin Sivoplás Ferrari

    Richfaces + Facelets + Chrome problem

    Agustin Sivoplás Ferrari Expert

      When i using my web app with google chrome i recieving this error (attachment), im not sure if this error it's produced by facelets or richfaces.

       

      Captura.PNG

       

      The html code (line 993 to final html code):

       



      <div id="container"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >

      <html xmlns="http://www.w3.org/1999/xhtml">

      <body>

      <div id="footer">

      <p>2010, ITE - All rights reserved v 2.5.0</p>

      </div>

      </body>

      </html>

      </div>

      </div>

      </body>

      </html>

       

      the problem is in the fotter page (use facelets) footer.xhtml

      
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
           xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:h="http://java.sun.com/jsf/html">
           <body>
                <div id="footer">
                <p>&copy; <h:outputText value="#{sessionBean.anioSistema}"/>, ITE - All rights reserved v
                <h:outputText value=" #{sessionBean.versionSistema}"/></p>
                </div>
           </body>
      </html>
      
      

       

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <body>
      <div id="footer">
      <p>&copy; <h:outputText value="#{sessionBean.anioSistema}"/>, ITE - All rights reserved v
      <h:outputText value=" #{sessionBean.versionSistema}"/></p>
      </div>
      </body>
      </html>