in views/web2py_ajax.html add the 'error' part
function web2py_ajax_page(method,action,data,target) {
...
'success': function(text) {
jQuery('#'+target).html(text);
web2py_trap_form(action,target);
web2py_ajax_init();
},
'error': function(xhr, textStatus, errorThrown) {
jQuery('.flash').html(textStatus+' '+errorThrown+'
'+xhr.responseText).slideDown();
}
the 'error' part will make errors in web2py_components (LOAD) pop up
in the .flash div
helps me a lot debugging my apps
--
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en