Create a validator in formencode that validates/converts your get variable to the object. Then decorate your expose methods, tagging that variable as validated by your new validator.
~jon On Jun 29, 3:09 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > > > I've looked through the documentation as well as some parts of the > > > source but didn't find it anywhere. > > > Look in your start script "start-<myproject>.py" in the root directory > > of your project. > > Thanks, I see. So the root controller is instantiated at the start of > the server and not upon every request, good to know :) > > Sorry for the poorly chosen subject, but what is the most common idiom > for the issue I mentioned before (common setup code for every exposed > method)? > > Cheers, > Daniel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

