Valentino Volonghi aka Dialtone ha scritto: > On Mon, 17 Jul 2006 15:15:30 -0200, Manlio Perillo > <[EMAIL PROTECTED]> wrote: >> Here is another solution: > > The following is NOT a solution for multiple reasons the main of which > is that the context is going away and soon you won't be able to use this. >
And what about my first solution? http://twistedmatrix.com/pipermail/twisted-web/2006-July/002813.html > The second is that IData is not for external use but rather internal > Nevow usage. > Ok, thanks for the advice. I have read about this trick in a message in the archive. Only one last question. I have read the whole ml archive but I was unable to find any message where it is explained why the context is bad. >> >> In my previous solution, both render_option_list and render_control are >> called two times. > > I don't remember the template and thus I don't think I can be of any > help here. See the previous link. > But this way of coding is called 'being clever' and you'll > regret it when you'll have to maintain that code or understand how the > code actually works. > Ok. But I'm searching a simple solution that is database friendly; that is, where I can map directly database queries to data directives. Thanks Manlio Perillo _______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
