Manuele: Massimo suggested adding the virtualfield name parameter like this:
db.testtable.testfield = Field.Virtual('testfield', lambda row: 'foo') It works this way. In my ticket (http://code.google.com/p/web2py/issues/detail?id=1851) I have taken the example directly from the book so I made a pull request to add it in the book example as well. However it does not make too mutch sense as the name of the field is already specified in the db.testtable.testfield part. -rif vineri, 10 ianuarie 2014, 17:00:52 UTC+2, Manuele a scris: > > Il 10/01/14 12:47, rif ha scritto: > > I meant a few updates to web2admin :) > thank you very mutch rif for your interest!! > :) I'll use old style viertual fields for the moment > > M. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.