[Seaside] Re: Differences in calling render: from ajax?

TimM tamackinnon at gmail.com
Mon Aug 16 08:49:43 UTC 2010


John McKeon wrote:

> Perhaps you have gone a bit astray...first, I don't see where you render 
> the myID div, and jQuery of course needs a div with an id in what you 
> are trying to do.

Hi John, thanks for chipping in. I don't think this is the case with the 
id - probably more me just trying to show relevant snippets and missing 
a bit out. However I follow your thinking, and maybe in trying it out I 
will learn something else - or spot my error.

It really does seem like the CTPusher has a funny renderingContext that 
isn't aware of its location - so when components render into it, they 
aren't doing so that same way as in the normal rendering cycle?

On a full page refresh through the main rendering, I get a perfect page, 
and my initial button click with ajax and the first push works fine too 
(making me think i haven't messed up any id's) - but the contents that 
get rendered are broken.

However I will try your suggestion, and report back.

Tim



More information about the seaside mailing list