Dieter Maurer wrote:
Thanks! This is exactly what I would like to do in the end. The code above was just a first attempt to get started.Jørgen Frøjk Kjærsgaard wrote at 2005-7-1 23:28 +0200: Good to know :-) I didn't read the Zope book very carefully on that point - I have been using Python mod_python for years but am new to "advanced" Zope programming. Another question: When I define an external method to process form data, I have to do it like this: def process_form_data(self, name, address, zip, ...): ... What I would like to do is: def process_form_data(self, **args): ... so that I don't have to alter the argument list if I add or remove fields. However, args always comes out empty, presumeably because Zope inspects the argument list and passes only those arguments that have a matching name in the list. Is there any way to tell Zope to pass "the rest" in **args? -- med venlig hilsen / regards Jørgen Frøjk Kjærsgaard Systemudvikler Metation ApS systemudvikling * hosting * IT rådgivning |
_______________________________________________ Zope-DB mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope-db
