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

Merik Voswinkel merik at mac.com
Sat Sep 29 02:33:07 UTC 2007

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

So what to do, use another way to geberate the url, downgrade to 2.7  
(what version)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070929/3bd098bd/attachment.htm

More information about the seaside mailing list