I'm trying to set the selected value in a SelectionField widget but
can't seem to get it to do it.

For example:

     widgets.SingleSelectField(name="installer", label="Installer:",
options=[(0, "MSI"), (1, "EXE"), (2, "Custom")], value=2)

Doesn't select the 3rd option.  Also, if I declare the widget in a
TableForm inside the class, is there a way to dynamically set the
selection value when calling on the TableForm to render itself?

Thanks!


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