the default for escapeXml is true right?  if you do false it will print out
your javascript correctly I am printing out fairly complicated hash
structures to my pages with core:out escapeXml="false"



-----Original Message-----
From: Eric W Hauser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 10:35 AM
To: Tag Libraries Users List
Subject: RE: Java String to Javascript String


I'm not sure I made my question clear.  If I use <c:out /> (which
escapeXml is set to false by default so you don't have to define that),
everything works fine.  My issue is that I have to convert certain
characters (new line or carriage returns are an example) into
their Javascript literals for these characters, or else the Javascript
will not work.  I was just looking to see if anyone had an existing tag
with this functionality.

On Tue, 4 May 2004, Menke, John wrote:

> i do this with core:out 
> 
> use <core:out value='${string}' escapeXml="false"/>

-------------------
Eric Hauser
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to