[web2py] Re: Create Class that extends a model of the dal

2015-12-05 Thread Anthony
Please show an example of the kind of code you would like to write. On Saturday, December 5, 2015 at 2:07:06 PM UTC-5, Alessio Varalta wrote: > > There is a problem VirutalField Method don't permit operation > insert,update,delete so is not helpful and the exempio of Massimo don't > work if you

[web2py] Re: Create Class that extends a model of the dal

2015-12-05 Thread Alessio Varalta
There is a problem VirutalField Method don't permit operation insert,update,delete so is not helpful and the exempio of Massimo don't work if you call the function in the controller...So I don't find a solution I don't understand why there isn't a point of guide about this I think that any prog

[web2py] Re: Create Class that extends a model of the dal

2015-12-02 Thread Alessio Varalta
Thanks, Is the work for my project :) I see now in the guide the part of DatabaseLayer- Virtual Field On Wednesday, 2 December 2015 17:13:48 UTC+1, Anthony wrote: > > Not sure if this is what you're looking for, but check out > https://groups.google.com/forum/#!msg/web2py/ceqq4JwkWi4/csn0kZfyPuw

[web2py] Re: Create Class that extends a model of the dal

2015-12-02 Thread Anthony
Not sure if this is what you're looking for, but check out https://groups.google.com/forum/#!msg/web2py/ceqq4JwkWi4/csn0kZfyPuwJ (not documented in the book). Anthony On Wednesday, December 2, 2015 at 10:59:39 AM UTC-5, Alessio Varalta wrote: > > Hi, I want to assign specific function to a Mode

[web2py] Re: Create Class that extends a model of the dal

2015-12-02 Thread Alessio Varalta
For example there is the possibility to define the class model like Java/Ruby I see this document http://weppy.org/docs/0.1/dal -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/lis