Hi all,

I deploy a "DataTables server-side processing" on GAE (http://
toan75.appspot.com/init/default/view_table) , it's not work but it
work fine on local (http://localhost:8080/init/default/view_table) or
example non server-side (http://toan75.appspot.com/init/default/
table).
It expects a JSON data ("sAjaxSource": "{{=URL
(r=request,c='default',f='jsondata')}}",) that I generate and write
out in the controller:

def jsondata():
        sOutput = '{"sEcho": 1, "iTotalRecords": 1, "iTotalDisplayRecords":
1, "aaData": [ ["1","Company","Description company","None"]] }'
        response.write(sOutput)
        return dict()

Json data is correct: http://toan75.appspot.com/init/default/jsondata

Could you help me?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to