Scriptaculous problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Scriptaculous problems

Patrick Collison
I'm having some trouble with updaters in Scriptaculous
(Scriptaculous-lr.193). With something like:

html anchor onClick: (html updater id: 'foodiv'; callback: [:h | h
text: 'foo']); with: 'Click me'

The AJAX response is a warped html document, complete with <html>,
<title> and <body> tags (the content of the <body> tag is just the
text 'foo'), and the contents of the 'foodiv' div are (meaninglessly)
set to include these <body> and <title> tags. I've included a sample
response at the bottom of this mail (no closing tags are served in the
response).

This causes Safari to break, though Firefox seems to get by ok. The
exact same code works fine in Scriptaculous 2.6 (I'm using
Seaside2.7a1-rdt.219). Is this a bug, or am I using updaters
incorrectly?

Cheers,

Patrick

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
lang="en" xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"><head><title>Seaside</title><meta
content="text/html; charset=utf-8" http-equiv="Content-Type"
/></head><body>foo
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Scriptaculous problems

Lukas Renggli
> I'm having some trouble with updaters in Scriptaculous
> (Scriptaculous-lr.193). With something like:

Take Scriptaculous-lr.179 or earlier or use the latest Seaside2.8

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Scriptaculous problems

Patrick Collison
On 22/05/07, Lukas Renggli <[hidden email]> wrote:
> Take Scriptaculous-lr.179 or earlier or use the latest Seaside2.8

Ah, that explains it. Thanks.
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside