This is actually the solution we came up with, but I absolutely hate it. Oh well.. might be the only way...
For those of you interested, I just completed Edit. This means that dbmechanic has as much functionality as CatWalk 2.0 at this point! Did I mention it works on SQLAlchemy!? cheers. -chris On Mar 20, 6:32 pm, Paul Johnston <[EMAIL PROTECTED]> wrote: > Hi, > > >The idea here is that my validate function will take the table name > >from the > >arglist and generate validation on table provided the lookup to the > >formsByTable > >dictionary. > > I think the only way to do this is to copy the whole validate function > from controllers.py and rename it to myValidate. You can then edit the > code around "form = init_form" to do the table name lookup. > > The code would end up something like > this:http://paste.turbogears.org/paste/1140 > > Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

