Am 28.04.2008 um 15:30 schrieb Charlie Clark:

Alternatively, and I think this probably makes more sense: how to do I get the form to be extended repeatedly with the same interface but a different prefix?

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)?

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