The following works fine with ajax=true but fails with ajax=false
generating one of those annoying "restricted errors". I have a SQLFORM
version that works fine with ajax=false. So must be something in crud.
Perhaps connected to previous issue with request.vars and load?
CONTROLLER
def test():
return dict()
def testload():
form=crud.update("customer","1")
return dict(form=XML(form.xml()))
TEST.HTML VIEW
{{extend 'layout.html'}}
{{=LOAD(c='crm',f='testload.load', ajax=False, ajax_trap=True)}}
TESTLOAD.LOAD VIEW
{{=form}}