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 jav...@googlegroups.com
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Muito obrigado Amigão!!
funcionou direitnho!
apenas o rich:gmap não apareceu no chrome...
porq sera?
abraçaos e muiiiiiiiiitttooo obrigada!
On Mar 18, 11:54 pm, Ellison Alves <ellisonal...@gmail.com> wrote:
> Esqueci de mencionar...
> a página que será incluida deverá ser <ui:composition xmlns=""
> ...></ui:composition>
>
> flwwwss...boa sorte =)
>
> 2010/3/18 Ellison Alves <ellisonal...@gmail.com>
>
>
>
>
>
> > em vez de você utilizar o cabeçalho <html xmlns= "" ....></html>
> > utilize <ui:composition xmlns="" ...></ui:composition>
>
> > 2010/3/18 André Mafra <andresma...@gmail.com>
To unsubscribe from this group, send email to javasf+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Abçs
On Mar 19, 3:54 pm, Ellison Alves <ellisonal...@gmail.com> wrote:
> Opa, eu nunca usei esse componente mas dá uma olhadinha nos links abaixo,
> podem te ajudar a resolver a maior parte dos problemas.
>
> -http://livedemo.exadel.com/richfaces-demo/richfaces/gmap.jsf?c=gmap&t...
> -http://code.google.com/intl/pt-BR/apis/maps/documentation/index.html
> -http://docs.jboss.org/richfaces/3.3.2.GA/en/devguide/html_single/<http://docs.jboss.org/richfaces/3.3.2.GA/en/devguide/html_single/>
>
> flwwww =)
>
> 2010/3/19 André Mafra <andresma...@gmail.com>