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

Merik Voswinkel merik at mac.com
Fri Sep 28 02:08:19 UTC 2007

>> But my problem is that I need to generate a url pointing to
>> another component (the component that generates the xml data
>> that is called SUTest1).
>> So I tried lots of permutations to do that but I only get walkbalks:
>> temp  := html anchor callback: [SUTest2 new].
>> Transcript show: temp.
>> What is the correct syntax to generate a url (with callback)
>> to this component?
> html context urlForAction: [self call: SUTest2 new]
> Ramon Leon

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

Debug Proceed Full Stack

Possible Causes

you sent a message this type of object doesn't understand
Stack Trace

thisContext	WARenderingContext(Object)>>doesNotUnderstand:  
self			a WARenderingContext
aMessage	urlForAction: [] in SUProductenses>>renderContentOn: {[self  
call: SUTest2 new]}
thisContext	SUProductenses>>renderContentOn:
self			a SUProductenses
html			a WARenderCanvas
temp		nil

Merik Voswinkel

More information about the seaside mailing list