Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
create a javascript function value which "calls back" to expand a template at the server.

src/w/h/whiff-1.1/whiff/middleware/loadMonth.py   whiff(Download)
from whiff.middleware import wMonth
from whiff.middleware import setInnerHtml
from whiff.middleware import EvalPageFunction
 
class loadMonth(misc.javaScriptGenerator):

src/w/h/whiff-1.1/whiff/middleware/setTarget.py   whiff(Download)
# XXXX as an optimization, if no additional arguments are provided, could uses EvalPageFunction
from whiff.middleware import CallPageFunction
from whiff.middleware import EvalPageFunction
from whiff import whiffenv
from whiff import parseTemplate

src/w/h/whiff-1.1/whiff/middleware/PopUpJS.py   whiff(Download)
from whiff.middleware import misc
from whiff.middleware import setInnerHtml
from whiff.middleware import EvalPageFunction
 
class PopUpJS(misc.utility):

src/w/h/whiff-1.1/whiff/middleware/loadList.py   whiff(Download)
from whiff.middleware import misc
from whiff.middleware import setInnerHtml
from whiff.middleware import EvalPageFunction
 
class exampleGetter(misc.utility):

src/w/h/whiff-1.1/whiff/middleware/CallPageFunction.py   whiff(Download)
# import must be absolute
from whiff.middleware import misc
from whiff.middleware import EvalPageFunction
 
class CallPageFunction(misc.javaScriptGenerator):