On Thursday 09 October 2008 15:27:53 dfiguero wrote: > Hi, > > I'm fairly new to TG and want to know if anyone out there knows if it > is possible to have a webpage call itself. In other words I want to > know if it is possible to have my 'search' and 'display' functions be > done on the same url/template specially adding validation?
You don't say which TG version you use, so I assume TG1. You can pass a callable to the validate-decorator. This callable can return an empty Schema, thus no validation occurs, unless a specific "visited"-parameter is present in the request. In that case, the actual form is returned. Diez --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---

