Jorge Godoy wrote:
> Hi!
>
>
> I dunno since when it stopped working, but it is working with TurboGears
> 0.9a1dev-r886 and stopped working somewhere after it (it still doesn't work on
> r943, I've just updated and tested):
>
>
>     widgets.RadioButtonList(name = 'tipo_liberacao_laudo',
>                             label = lazy_gettext(u'Tipos de Liberações de 
> Laudos'),
>                             options = [['1', lazy_gettext(u'Faixas de 
> valores'),
>                                          dict(checked="True", onfocus = 
> 'makeVisible(this.form.faixa)')],
>                                        ['2', lazy_gettext(u'Três estados 
> (Positivo, Negativo, Indeterminado)'),
>                                          dict(onfocus = 
> 'makeInvisible(this.form.faixa)')],
>                                        ['3', lazy_gettext(u'Aprovação 
> manual'),
>                                          dict(onfocus = 
> 'makeInvisible(this.form.faixa)')],
>                                        ],
>                             validator = validators.Int(not_empty = True),
>                             ),
>
>

Seems to be working fine here, note that you're using an int validator
but declaring string values, like '1', '2', try changing that... ;-)

Ciao
Michele


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to