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

Julian Fitzell jfitzell at gmail.com
Fri Aug 7 15:34:33 UTC 2009

On Fri, Aug 7, 2009 at 1:49 AM, Damien Cassou<damien.cassou at gmail.com> wrote:
> 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

Aha - good, glad you found it.


More information about the seaside mailing list