Assuming this is Seaside 3.0, we don't use full continuations anymore.
If you restore a continuation, you throw away all the seaside request
handling contexts, which means you won't be able to acces the current
request or return a response.
I think the *right* solution to your problem is to use and register a
subclass of WAActionPhaseContinuation, but this isn't currently as
easy as it should be. The more common solution is to register a
callback during rendering.
Julian
On 7/17/11, Romain Verduci <
[hidden email]> wrote:
> Hi,
>
> I want to send a confirmation email for an inscription on a website.
> After the inscription procedure, there is the following code tu send the
> email with the continuation url.
>
> WAContinuation currentDo: [ :cc |
> self settings
> mailCreation: (self session actionUrlForContinuation: cc)
> of: account.
> ^ super nextPage ].
> "things to do after continuation"
>
> After the confirmation, I have to retrieve session to do things with using
> the following message:
>
> WACurrentRequestContext value session
>
> But the system seems to not retrieve the session and be in an infinte loop.
>
> I can't debug this on pharo because of WARequestContextNotFound..
>
> What can I do to debug / resolve this problem ?
>
> Thanks
>
> Romain
>
_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev