ajones wrote: > > This seems pretty similar to what FastData already does. Granted I have > no idea if it uses metaclasses, but I know it creates an html form from > a SQLObject somehow. That might be a good place to start looking, see > if you could lift code from that.
FastData simply uses formmaker.fields_for to ispect the SQLObject model and build a list of widgets that are then passed to the Form constructor as the fields argument, the other somewhat special thing is that the form parameter passed to the validate decorator is not a form instance but a callable that returns the above form instance. ;-) Ciao Michele --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

