-
1. Re: About accents and pages.xml
santiagopaz Dec 26, 2011 1:49 PM (in response to santiagopaz)Im sorry, this is the flow for 'exitoTemplate.xhtml' that it is in the pages.xml:
<!-- Pagina generica de "Operacion exitosa" --> <page view-id="/comun/exitoTemplate.xhtml" conversation-required="false" login-required="true"> <param value="#{exitoBean.titulo}" name="titulo"/> <navigation from-action="#{exitoBean.aceptar}"> <redirect view-id="#{exitoBean.toPage}"> <param name="titulo" value="#{exitoBean.titulo}"/> </redirect> </navigation> </page>
-
2. Re: About accents and pages.xml
mikkus70 Jan 3, 2012 7:47 AM (in response to santiagopaz)Hi Santiago,
Check the encoding of the response with Firebug or similar tool (the encoding in the webpage is indicated in the
Content-Type
response header, it should be text/html;charset=UTF-8).Also check that the encoding is correct in your XML and XHTML files (not only on your editor, but also use the proper XML directive:
<?xml version="1.0" encoding="UTF-8"?>
If the encoding in the response is not UTF-8, check that you are setting it correctly. You can set the reponse encoding by adding a meta tag to your main JSF template:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
If none of this works, you can always use the HTML entity definition: ó should give you the accented o.
-
3. Re: About accents and pages.xml
santiagopaz Jan 6, 2012 7:57 AM (in response to santiagopaz)Thanks for your answer, anyway, I solved by another way.
Bye and thank you.