[Twisted-web] Athena DOM manipulation

Mike Pelletier mike at mkp.ca
Tue Sep 5 12:26:32 CDT 2006

On Monday 04 September 2006 19:35, Jean-Paul Calderone wrote:
> One can indeed add new LiveElements to an already-rendered Athena page.

This is great!  I recently had a similar requirement, but I ended up just 
writing a single really complex LiveElement that could handle all 
possibilities instead of composing a bunch of simple LiveElements on an 
as-needed basis.  I knew I was missing something important, because I ended 
up having to pre-render all possible fragments in an invisible container and 
clone them whenever I wanted to add a new sub-Widget, etc.  I couldn't figure 
out how I was supposed to take advantage of Nevow's templating system for new 
Widgets once the page had finished rendering.  This clears up a lot.



More information about the Twisted-web mailing list