[web2py] Re: sqltable behaviour
OK. I was confused by epydoc example: def mylink(field, type, ref): return URL(r=request, args=[field]) rows = db.select(db.sometable.ALL) table = SQLTABLE(rows, linkto=mylink) Thanks very much. On 18 Ott, 14:23, mdipierro wrote: > This is correct. I think you want this: > > def mylin
[web2py] Re: sqltable behaviour
This is correct. I think you want this: def mylink(): ... print ">>>I am in mylink at row %s" % request.args ... return URL(r=request,f='something') def something(): ... SQLTABLE( rows, ...