This is part of the normal markup writer behavior for 5.1; otherwise every
double quote in the markup to be escaped. JSON requires that strings always
be in double quotes but HTML/XML does not (you can use single quotes
interchangably).

Use RenderSupport to add a $('id').observe("click", someFunction); and avoid
inline JavaScript.

On Tue, Jun 16, 2009 at 3:58 PM, Tom Zurkan <tzur...@citizensportsinc.com>wrote:

> i can't find who the culprit is yet.  but, by the time i am out of
> AjaxPartialResponseRendererImpl, the content has been changed so that double
> quotes are replaced.  this seems to cause some problem with enclosed
> javascript such as onclick="somefunction('var');"  becomes
> onclick='somefunction(&apos;var&apos;);' which i think is causing problems
> on IE.  anyone know who is doing this transformation?
>
> thanks,
>
> tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

Reply via email to