Hi Nicky :
I'm not sure what you mean,
but if you mean how to make some option be "selected" by default,
You just add "default" in your Single/MultiSelectField widget as an
attribute.
widgets.SingleSelectField("Numbers", options=opt_num, default=2)
widgets.MultipleSelectField("Letters", options= opt_let, ,
default=[1,2])
You can check Single/MultiSelectField widget demo's source in toolbox's
widget browser .
--
Fred
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---