On 08:10 pm, [email protected] wrote:
>I am using Nevow's LiveElements and I am gettings troubles with the
>docFactory attribute. In the examples I've seen, docFactory =
>loaders.stan(...)
>I'd like to load a string representing my html page[0]
>
>Can this be done? I really don't like stan :)
>
>Greets!
>
>[0] I generate the string using Django's templates systems' 
>render_to_string
>function.

There's also nevow.loaders.xmlstr.

You may not want to bother making a new docFactory for every page 
render, though.  You might want to make a single render function and 
return the string from that, wrapped in nevow.tags.xml.

Jean-Paul

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to