Seaside 3.2 Missing CDATA prefix in script

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

Seaside 3.2 Missing CDATA prefix in script

jtuchel
Hi..

I am currently porting a Seaside App from Seaside 3.1.x to 3.2. I am
having lots of trouble with Javascript because many functions don't get
called or work differently. Some of the problems I'v had coulkd be
solved by using (JSStream on: '') for #addLoadScript: but some problems
still remain.

I am not sure whether it is a problem or just an observation, but in
Seaside 3.1, the script tag at the end of a document wrapped the funcion
onLoad() - stuff in a CDATA sectipon, while the current Seaside doesn't.
Not sure if I am doing something wrong or if there is a problem in the
VAST port of SEaside 3.2 or whatever.

Is this a known change in 3.2?
Any pointers to information to consider in the javascript part of
Seaside 3.2?


Joachim

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

Re: Seaside 3.2 Missing CDATA prefix in script

Philippe Marschall
On Tue, Feb 28, 2017 at 12:42 PM, [hidden email]
<[hidden email]> wrote:

> Hi..
>
> I am currently porting a Seaside App from Seaside 3.1.x to 3.2. I am having
> lots of trouble with Javascript because many functions don't get called or
> work differently. Some of the problems I'v had coulkd be solved by using
> (JSStream on: '') for #addLoadScript: but some problems still remain.
>
> I am not sure whether it is a problem or just an observation, but in Seaside
> 3.1, the script tag at the end of a document wrapped the funcion onLoad() -
> stuff in a CDATA sectipon, while the current Seaside doesn't. Not sure if I
> am doing something wrong or if there is a problem in the VAST port of
> SEaside 3.2 or whatever.
>
> Is this a known change in 3.2?

Yes it was:
https://github.com/SeasideSt/Seaside/issues/822

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside 3.2 Missing CDATA prefix in script

jtuchel
Thanks Philippe!



Am 28.02.17 um 18:44 schrieb Philippe Marschall:

> On Tue, Feb 28, 2017 at 12:42 PM, [hidden email]
> <[hidden email]> wrote:
>> Hi..
>>
>> I am currently porting a Seaside App from Seaside 3.1.x to 3.2. I am having
>> lots of trouble with Javascript because many functions don't get called or
>> work differently. Some of the problems I'v had coulkd be solved by using
>> (JSStream on: '') for #addLoadScript: but some problems still remain.
>>
>> I am not sure whether it is a problem or just an observation, but in Seaside
>> 3.1, the script tag at the end of a document wrapped the funcion onLoad() -
>> stuff in a CDATA sectipon, while the current Seaside doesn't. Not sure if I
>> am doing something wrong or if there is a problem in the VAST port of
>> SEaside 3.2 or whatever.
>>
>> Is this a known change in 3.2?
> Yes it was:
> https://github.com/SeasideSt/Seaside/issues/822
>
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


--
-----------------------------------------------------------------------
Objektfabrik Joachim Tuchel          mailto:[hidden email]
Fliederweg 1                         http://www.objektfabrik.de
D-71640 Ludwigsburg                  http://joachimtuchel.wordpress.com
Telefon: +49 7141 56 10 86 0         Fax: +49 7141 56 10 86 1

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside