javasf@googlegroups.com
[Top] [All Lists]

[javasf] Problema com Facelets + JSF + RichFaces no Chrome

Subject: [javasf] Problema com Facelets + JSF + RichFaces no Chrome
From: André Mafra
Date: Thu, 18 Mar 2010 15:14:10 -0700 PDT
Olá pessoal tudo bem? Estou tendo problemas com JSF + Facelets, bem,
resumindo, funciona no IE7 mas não funciona no
Chrome 4.1.249.1036....

Segue o erro no navegador:

This page contains the following errors:

error on line 2 at column 18: XML declaration allowed only at the
start of the document
Below is a rendering of the page up to the first error.

----------

Segue minhas duas paginas:
Esta é o template

<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:f="http://
java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html";
xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:rich="http://
richfaces.org/rich"     xmlns:a4j="http://richfaces.org/a4j";>

        <head>
        <title>Template JSP-JSF</title>
        </head>
        <body>
        <f:view>
                <h:form>
                        <h:commandLink value="click Aqui!" />
                </h:form>
        </f:view>
        </body>
</html>

Esta "chama" o template:

<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:f="http://
java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html";
xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:rich="http://
richfaces.org/rich" xmlns:a4j="http://richfaces.org/a4j";>

        <ui:insert name="top-menu">
                <ui:include src="template/template.xhtml" />
        </ui:insert>
        <f:view>
                <rich:fileUpload></rich:fileUpload>
                <rich:calendar></rich:calendar>
                <rich:gmap lat="30" lng="60" ></rich:gmap>
        </f:view>
</html>

Porque será que no chrome da erro?
Sera que errei em algum lugar? as daus são xhtml...
Peço que me ajudem urgente, pois é para o trabalho de conclusão de
curso....

Obrigado Senhores!

André

-- 
http://groups.google.com/group/javasf

You received this message because you are subscribed to the Google
Groups "javasf: JavaServer Faces Group" group.
To post to this group, send email to javasf@xxxxxxxxxxxxxxxx

To unsubscribe from this group, send email to 
javasf+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

<Prev in Thread] Current Thread [Next in Thread>