[Seaside] Pharo 2.0 scriptaculous does not work
sabine.knoefel at gmail.com
Fri Jun 7 08:09:26 UTC 2013
1) load Seaside config
2) WAComponent subclass: #TestView
3) TestView>>renderContentOn: html
(html prototype evaluator
callback: [ :script |
2 inspect ];
4) (ZnZincServerAdaptor port: 8083) start.
6) In your browser, http://localhost:8083/test
Clicking at the button should start the debugger but that does not work.
In 1.4. that worked.
I am not sure perhaps it is me making sonething wrong I am not sure if
I did everything correct.
Advanced Seaside stuff is hard for me, too....;-)
On Fri, Jun 7, 2013 at 9:37 AM, Sven Van Caekenberghe <sven at stfx.eu> wrote:
> 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...
>> On Thu, Jun 6, 2013 at 3:57 PM, Johan Brichau <johan at inceptive.be> wrote:
>> You are probably using the Zinc-Seaside adapter?
>> If you load latest Zinc packages, this bug will go away.
>> 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
>> > 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"
>> > <script src="/files/SUDevelopmentLibrary/scriptaculous.js"
>> > 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.
>> > _______________________________________________
More information about the seaside