[Seaside] The rendering context XHTML document is nil on page refresh

Damien Cassou damien.cassou at gmail.com
Fri Aug 7 08:49:47 UTC 2009


Hi,

On Tue, Aug 4, 2009 at 11:03 AM, Damien Cassou<damien.cassou at gmail.com> wrote:
> On Mon, Aug 3, 2009 at 6:34 PM, Julian Fitzell<jfitzell at gmail.com> wrote:
>> I don't see an obvious problem, I'm afraid. As Karsten mentions, a
>> RequestContext has its variables nil'ed out when it is finished and
>> its response is returned, and that's the most likely cause of the
>> document being nil, but I certainly don't see anything in the code you
>> posted that would explain that. Usually that is caused by somebody
>> storing the canvas and using it again in another request (like, an
>> ajax rendering callback).
>
> Thank you and Karsten for you explanations. I will come back to you
> later with the solution or a small piece of code.

I finally found the problem: part of my code was changing state and
manipulating cookies outside callbacks.

Thank you very much

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry


More information about the seaside mailing list