[Seaside] Ajax rendering

Ted Wrinch ted.wrinch at gmail.com
Wed Oct 5 11:37:46 UTC 2011

Hi All,

I have a component on a webpage that uses Ajax to communicate with the Seaside server when its controls are used. I want to re-render the page when this happens. My problem is that the html parameter in the Ajax callback block is not usually that of the whole  page. Perhaps I could grab the whole page but I would still have the problem that Ajax DOM replacement expects you to provide a parent element to hang everything off of - in other words, you are required to design your HTML for Ajax. Is there anyway of getting the normal HTML canvas and rendering on that from an Ajax call? OTOH, perhaps this whole approach is wrong and I should do something like adding a hidden anchor and trigerering that (with JavaScript) from my control, which would use the normal Seaside rendering loop to refresh the page. What do people think?



Ted Wrinch 

Ted Wrinch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111005/e284f36a/attachment.htm

More information about the seaside mailing list