On Thu, 2008-12-06 at 23:42 -0300, Laureano Arcanio wrote: > Hi ! > > I'm building an app in TG2, but my question is about the validation > mechanism, i've building some kind of web components that wraps a few > widgets and locate them in a structured html, and the problem is that > i don't return the forms directly, instead a compound widgets with > forms and other stuff. > I'm not sure of how tg2 validation mechanism works but i'm really > interested on keeping my web components, is there any way i can make > validation for it ? i mind, how i can catch those messages and > manually put them in the form ? ( or something like that ) > > ( This web components are the vertebral column of lymon ) > > Any light on how it's work can help me too.
Hi Laureano, if you can't get TG2 doing what you want ( yet! ) it's not difficult to do validation directly with formencode. Ian has improved the formencode docs substantially in the last year; I had to dig into it for a wxpython app that I was doing and trying to emulate the tg patterns and I got along quite well. HTH, Iain --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
