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

Ramon Leon ramon.leon at allresnet.com
Fri Sep 28 21:33:54 UTC 2007


> >> 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.

Ramon Leon
http://onsmalltalk.com  



More information about the seaside mailing list