users@glassfish.java.net

Re: escape sequence problem

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Apr 2010 08:03:19 PDT

I got the solution...

within my application I used some output tags "<h:outputText>".

JSF 1.2 will generate clean not modified text within the web page.
JSF 2.0 will modify the text web conform.

The solution is to add an attribute to the output tag like the following:

<h:outputText escape="false"> some text with \""bla"\"<h:outputText>

The "escape attribute" ensures that the outputtext will not be modified.
[Message sent by forum member 'merschi']

http://forums.java.net/jive/thread.jspa?messageID=397166