web2py version: Version 1.92.1 (2011-02-16 15:04:40)
LOAD is failing to pass request.vars when ajax is set to False but passed
vars when ajax is set to True. I want certain component to load before page
finish loading so need to set ajax= False. I tried this call in
default/index.html
{{=LOAD(c='default', f='testcall', args=request.args, vars={'x':1},
ajax=False)}}
with controller code
def testcall():
print request.vars
return
output with *ajax=True*
<Storage {'x': '1'}>
but with *ajax=False*
*<Storage {}>
*
*
*
is there something that I am missing?