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 Clark
Helmholtzstr. 20
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226

Zope-CMF maillist  -

See for bug reports and feature requests

Reply via email to