On 8/29/06, Maram <[EMAIL PROTECTED]> wrote:
>
> class MyCampos(WidgetsList):
> id = HiddenField(validator=v.All(v.Int))
> consumo=TextField( label="Consumo", validator=validators.Int) )
>
Should the validator not be a new instance of validators.Int()? i.e. :
consumo=TextField(label="Consumo", validator=validators.Int())
Lee
--
Lee McFadden
blog: http://www.splee.co.uk
work: http://fireflisystems.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---