[Seaside] REST-ful urls

Lukas Renggli renggli at gmail.com
Mon Jun 4 09:15:05 UTC 2007


>     self registry at: 'content' put: (self call: controller)

I don't understand what you put into that dictionary? #call: does not
return immediately and will break the initialization of your session.
I guess this is also the reason for the strange behavior you encounter
with the URL.

If I understand your intention correctly, this should be written as:

    self registry at: 'content' put: controller.
    self show: controller.

> updateUrl: aUrl
>     aUrl addToPath: self content url

Don't forget to call super, just in case ...

Lukas
-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list