[Twisted-web] problems with data_XXX in formless templates

Federico Di Gregorio fog at initd.org
Wed Feb 23 17:03:18 MST 2005


Il giorno mer, 23-02-2005 alle 06:51 -0800, Donovan Preston ha scritto:
> Well, somehow an instance of MethodBinding is being stuck on the 
> context as the IData. I'm pretty sure Nevow won't do this by itself. So 
> your job is to figure out why this is happening. Do other data_ methods 
> in the page work?

I don't understand exactly what you're saying. You mean that my code is
sticking the MethodBinding instance on the context? Anyway, I wrote a
very simple tac that exposes the problem (to make it easier understand
what's happening.) Maybe you'd like to have a look at it. The tarball
with the tac and two xml templates is just 1.2Kb so I am attaching it to
this email. :)

federico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: doesnotwork.tar.gz
Type: application/x-compressed-tar
Size: 1319 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20050224/b07fc1bd/doesnotwork.tar.bin


More information about the Twisted-web mailing list