Re: [web2py] RFC @completion

2010-01-26 Thread Timothy Farrell
I'm not knocking it because it's syntactic sugar, but you could already do this by setting response._caller right? On 1/26/2010 10:05 AM, mdipierro wrote: With current trunk you can now do: from gluon.tools import completion def callback(d): print '',d @completion(callback) def test():

Re: [web2py] RFC @completion

2010-01-26 Thread Thadeus Burgess
response._caller is internal. response._caller is global for all actions response._caller wants to call you out @completion will allow for per-action notification and per-action notify functions. @completion will allow you to be free @completion agrees with you /political_satire off They