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

Ramon Leon ramon.leon at allresnet.com
Fri Sep 28 02:38:20 UTC 2007


> >>
> |temp  |
> temp  := html context urlForAction: [self call: SUTest2 new].
> Transcript show: temp.
> 
> That looks logical but it still gives me this walkback:
> 
> MessageNotUnderstood: WARenderingContext>>urlForAction:

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.

Ramon Leon
http://onsmalltalk.com  



More information about the seaside mailing list