I find this part of the docs limitting it doesn't has any reference to how to pass the validators to the widgets and the explanation for @validate is vague http://docs.turbogears.org/1.0/ValidateDecorator
also can someone more experience with them than me write a quick walk thru all the ways to use them. I'm thinking of something like. Small snips of common used cases say for example -you want to check your email is valid TextField(validator=validators.Email) #I'm not sure if that works directly - you want a textfield which value is a number and not null then use TextField(validator=validators.All(validators.Int,validators.NotEmpty)) Also on the widgets side we have some nice tutorials, this one is nice to show people how great they are http://docs.turbogears.org/1.0/IntroductionToWidgets And we have this other one that is advance stuff http://docs.turbogears.org/1.0/RemoteFormWidgetTutorial but note that none of them uses widgets + validators --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Docs" 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-docs -~----------~----~----~----~------~----~------~--~---
