[Seaside] Pharo 2.0 scriptaculous does not work

Sven Van Caekenberghe sven at stfx.eu
Fri Jun 7 07:37:54 UTC 2013


Hi,

On 07 Jun 2013, at 08:39, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:

> Hi Johann,
> 
> can you please tell me exactly which versions to load?
> 
> After loading Seaside from config browser in a new 2.0 Image, I have 
> ConfigurationOfZincHTTPComponents-SvenVanCaekenberghe.48 (newest) which loads
> Zinc-Seaside-SvenVanCaekenberghe.37 (not newest)
> 
> Loading then
> Zinc-Seaside-SvenVanCaekenberghe.40 (newest) does not help

Some recent changes to Zinc apparently resulted in some compatibility problems with Seaside. We fixed already at least one of them. For me, Seaside 3.1 in Pharo 2.0 now seems to work OK.

Now, ConfigurationOfZincHTTPComponents does _not_ specify which version of Zinc-Seaside should be loaded. It is not even in the config. It is Seaside that depends on Zinc and the adaptor, the other way around in not possible. It seems that somehow, the latest Zinc was loaded and not the latest adaptor, which matches it.

> Both does not work for scriptaculous.

How can I easily see what goes wrong ? Please keep in mind that advanced Seaside stuff is hard for me...

Sven

> Sabine
> 
> 
> On Thu, Jun 6, 2013 at 3:57 PM, Johan Brichau <johan at inceptive.be> wrote:
> Sabine,
> 
> You are probably using the Zinc-Seaside adapter?
> If you load latest Zinc packages, this bug will go away.
> 
> Johan
> 
> On 06 Jun 2013, at 13:02, Sabine Knöfel <sabine.knoefel at gmail.com> wrote:
> 
> > I am a little bit confused and need your help.
> >
> > Yesterday I moved from Pharo 1.4 to Pharo 2.0.
> > (In Pharo 1.4. I used the one-click-package).
> >
> > After moving to 2.0, first it seemed that all worked but now I have the
> > following problem:
> >
> > Buttons like this:
> >
> >       html button
> >               onClick:
> >                               (html prototype evaluator
> >                                               callback: [ :script |
> >                                                                       self halt.
> >                                                                       2 inspect ];
> >                                               return: false);
> >               with: '??'
> >
> > Dont work (also some other things but I assume that all has the same
> > reason).
> > Click it - nothing happens.
> >
> > After some investigation I found out that the scriptaculous example
> > http://localhost:8083/javascript/scriptaculous
> > does not work either.
> > Instead of counting it re-renders the page itself again within the  example.
> >
> > I took the fresh 2.0. installation (windows) and loaded Seaside and
> > JQueryWidgetBox.
> >
> > <script src="/files/PTDevelopmentLibrary/prototype.js"
> > type="text/javascript">
> > <script src="/files/SUDevelopmentLibrary/scriptaculous.js"
> > type="text/javascript">
> > Is in my html code.
> >
> > Possibly there is somtehing more to load now?
> > Possibly scriptaculous is not the reason?
> >
> > Took me several hours now, help would be fine.
> > Sabine
> >
> >
> >
> > --
> > View this message in context: http://forum.world.st/Pharo-2-0-scriptaculous-does-not-work-tp4691931.html
> > Sent from the Seaside General mailing list archive at Nabble.com.
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list