Jorge Godoy <[EMAIL PROTECTED]> writes:

> I've tried this in my controller:
>
> ================================================================================
>         for field in 
> formulario_conversao_unidades_de_medida.widgets['fields']:
>             if field.name in ['origem', 'destino']:
>                 field.options = unidades()
> ================================================================================

Using 

================================================================================
formulario_conversao_unidades_de_medida.field_for('origem').options = unidades()
================================================================================

gives me the same exception on thread (un)safety. 


-- 
Jorge Godoy      <[EMAIL PROTECTED]>

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

Reply via email to