[Seaside] Registering a WARequestHandler

Jupiter Jones jupiter.jones at mail.com
Thu Feb 2 19:47:30 UTC 2017

Hi Udo,

This is pretty much your solution :)

I added the instance variable ‘key’ to my handler and the setter method MyHandler>>key:
This stops the error in WAApplication>>register: method setting the ‘key’ when calling…

WACurrentRequestContext value registry register: handler.

Then added a #basicURL method to my handler along the lines of the WASession>>basicUrk:

  | url |
  url := self parent url.
  self parent trackingStrategy addKey: key toUrl: url.
  ^ url



> On 3 Feb 2017, at 4:30 am, Udo Schneider <udo.schneider at homeaddress.de> wrote:
> Hi Jupiter,
> could you post your code? I ran into a similar problem getting Magritte File Handlers to work and did not quite figure out what you did.
> Thanks,
> Udo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/seaside/attachments/20170203/0c6a4d8b/attachment-0001.html>

More information about the seaside mailing list