Re: [web2py] Re: built-in lazy virtual fields

2011-08-20 Thread Bruno Rocha
Massimo, As you are dealing with VirtualFields, consider including some standard properties such as: Label, Comment, Represent, and Type. Label is the more usable of them, specially to display headers=labels in SQLTABLE. In PowerTable I used something like: @virtualsettings(label=..., type=...)

Re: [web2py] Re: built-in lazy virtual fields

2011-08-20 Thread Bruno Rocha
why static_method is used to define this? not better to have some @lazy decorator?