If I have a SingleSelectField and define the options in the FieldsList
definition, it works as expected when validation fails.  The proper
value is selected on redisplay.

However, if I define the options in the FieldList definition with a
callable (which always returns the same thing), the first option is
selected on redisplay.

Similarly, if I pass options at render time, it seems it is my
responsibility to append a {'selected':'selected'} to the proper option
tuple on redisplay after a validation failure.

Am I doing this right?  I guess it would really have to be that way,
but confirmation would be nice.

Thanks,
Steve


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