[Twisted-web] problems with data_XXX in formless templates

Federico Di Gregorio fog at initd.org
Wed Feb 23 05:54:25 MST 2005


I am having some problems using nevow:data attributes inside a formless
managed form. I want to extract some data from a database and show it at
the beginning of the form and IMHO, nevow:data is the Right Way (TM) but
unfortunately nevow tries to pass the current configurable as the 'data'
parameter to my data_XXX methods and:

nevow.accessors.NoAccessor: <MethodBinding submitted=Method at
0x4229164c> does not implement IContainer, and there is no registered

Right now I am using a render_XXX method that does not suffer from the
same problem but I find this limitation quite frustrating. Or, maybe, I
am missing something (again :)


Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog at debian.org
INIT.D Developer                                           fog at initd.org
  Se consideri l'uso del software libero una concessione tu stesso,
   come potrai proporla agli altri?                         -- Nick Name
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : http://twistedmatrix.com/pipermail/twisted-web/attachments/20050223/ca997b8b/attachment.bin

More information about the Twisted-web mailing list