On 26 Feb, 23:35, "Ian Wilson" <[EMAIL PROTECTED]> wrote:
> users_form() or users_form.display() take named arguments so if you
> pass a dictionary with the arguments inside you need to apply ** to it
> like this:
>
> ${users_form(**form_data)}
>
> And you want something like this(the parameter names and then the
> field's names whose parameter you want set):
>
> form_data = dict(value=dict(number=42), options = dict(users = [(1,
> "one"), (2, "two")]))
>
Yeah, thanks. That did it.

- Mikael


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to