I believe you asked this question yesterday. If you haven't received
an answer yet, it's probably because no one knows the answer. You
might try the Facelets mailing list (I'd use Nabble).
Matt
On Nov 28, 2007, at 7:15 AM, Carlos Ortiz wrote:
Hi you all
I am running the construction of a requirement that has embedded
javascript, like this
<html>
<head>
<script language="JavaScript">
function doOnKeyPress() {
alert("Esto es más");
}
</script>
</head>
...normal jsf content here
I am using the
<%@ page session="false" contentType="text/html;charset=ISO-8859-1"%>
and also the
<META http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
But when I see the page rendered to the client, that is, see what
HTML code JSF (I am using Tomahawk 1.6) has generated,
the javascript line where alert("Esto es más"); resides gets HTML
encoded as alert("Esto es mÿs"); and all that I want is to
show the message as "Esto es más"
Question is, What do I have to do to tell JSF engine to not HTML
encode the resulting page, that is, emit bytes as written in the
backing JSP file?
Any help is appreciated.