Am 28.04.2008 um 16:39 schrieb Charlie Clark:
Ah, it looks like I've got this working:
def setUpWidgets(self, ignore_request=False):
self.widgets = []
for city in ["Paris", "New York"]:
self.adapters = {}
self.widgets += setUpWidgets(
self.form_fields, city, self.context, self.request,
form=self, adapters=self.adapters,
ignore_request=ignore_request)
Is this okay? Or is it a bad thing (TM)?
I guess it's a bad thing as the form buttons retain the prefix "form"
even if the widgets get "Paris" and "New York" prefixes. Oh well, back
to the drawing board.
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
_______________________________________________
Zope-CMF maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests