There's a known issue with the version of prototype packaged in
T5.1.0.5 and IE8. Are you using the newly released tapx-prototype
already (http://tapestry.formos.com/projects/tapx/)?

Kalle


On Mon, Nov 16, 2009 at 9:10 PM, David Rees <dree...@gmail.com> wrote:
> Anyone else have issues with the new JSON encoding in 5.1?
>
> I upgraded an application when a block is returned that has a
> JavaScript link in it with single quotes, IE8 (haven't tested other
> versions of IE) puke on it.
>
> For example, this snippet in the block:
>
> <a href="" onclick="openWindow('winname')">Click me</a>
>
> Gets returned in T5.1.0.5 as:
>
> <a href='' onclick='openWindow(&apos;winname&apos)'>Click me</a>
>
> Gets returned in T5.0.18 as:
>
> <a href="" onclick="openWindow('winname')">Click me</a>
>
> Firefox 3.5 handles both OK.
>
> Any work around that people know of off-hand besides going back to
> T5.0?  Only thing I've found so far is to swap out single/double
> quotes in my .tml files like so:
>
> <a href="" onclick='openWindow("winname")'>Click me</a>
>
> But that's a major PITA in a large application.
>
> -Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to