Steve Bergman, el lunes 7 de noviembre a las 12:14 me escribiste: > >IMO, the easiest and the cleanest way is not have turbogear handle the > >validating. It is unnatural and I found it to be useless if I want to > >do anything that is useful. Just receive the params as kwargs(which > >cherrypy would support no matter what change will be there) then > >validator it using schema or whatever within the handler. > > followed a little further down, by: > > Person = Person.get(PersonId) > > ret = dict( > aaa=Person.aaa > bbb=Person.bbb > ccc=Person.ccc > ddd=Person.ddd > eee=Person.eee > fff=Person.fff > ggg=Person.ggg > )
With svn's SQLObject now you can do: ret = Person.get(PersonId).sqlmeta.asDict() -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ .------------------------------------------------------------------------, \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 / '--------------------------------------------------------------------' Pack and get dressed before your father hears us, before all hell breaks loose.

