[Seaside] re: how to generate session url's

Philippe Marschall philippe.marschall at gmail.com
Sat Sep 29 11:49:20 UTC 2007


2007/9/29, Merik Voswinkel <merik at mac.com>:
>
>
> On Sep 28, 2007, at 11:33 PM, Ramon Leon wrote:
>
>
> You must be using Seaside 2.7, here, add this to your
> WARenderingContext
>
> urlForAction: aBlock
>  ^ self context actionUrl withParameter: (self callbacks
> registerActionCallback: aBlock)
>
> In 2.7 that was in WAHtmlRenderer, which was removed completely in
> 2.8.
>
> FWIW, 2.7b1 has that method, 2.7a1 is behind and does not have it.
> If you are still on 2.7, you should use 2.7b1 rather than 2.7a1.
> Michel.
>
> I am confused. I am on Seaside 2.8a1-lr.428 in a 3.10 beta
> image from damien.cassou.free.fr/ There was no urlForAction:
> in WARenderingContext so I added it as Ramon suggested.
>
> The next message #context is also not implemented in
> WARenderingContext so it does not help:
>
> If context is an instance variable, you won't need self.  I don't know why
> that wouldn't already be in your 2.8 image, it should be.
>
>
> context is not an instance variable.
> urlForAction: was not present

It's there it's just in WARendererCanvas do:

html urlForAction: [self call: SUTest2 new]

Cheers
Philippe

> So what to do, use another way to geberate the url, downgrade to 2.7 (what
> version)?
>
>
> Merik
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


More information about the seaside mailing list