Hi! I want to set the options of a MultipleSelectField at 'display time' but I couldn't find how to do it.
I have something like this: form = TableForm(fields=[MultipleSelectField(name='stuff', ...), ...], ...) And I want to do something like: form.display(stuff_options=[(x, x) for x in object.my_xs]) The important thing is I can't use a simple callable and set the options at 'creation time' because the 'object' changes from request to request. Any ideas are welcome (besides instantiating the TableForm on each request, that should work but I'd like a better solution, if it exists). TIA. -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ .------------------------------------------------------------------------, \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 / '--------------------------------------------------------------------' A can of diet coke will float in water While a can of regular coke will sink --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

