So I use firebug for most of my ajax debugging, but given the scenario
where your ajax bg_function returns a dictionary to a template that is
lacking one of the dictionary's keywords, firebug tells you nothing
and there are no server tickets.  You've just got broken functionality
suddenly and have to go back and remember e.g. that your ajax call
depended on a function that's now broken, and so on.

Like this:

onclick=ajax('bg_function',['source_id'],'target_id')

def bg_function():
    return dict(k1=f1(), k2=f2(), k3=f3(), k4=f4(), k5=f5())

# whoops!
# def f3(): return 'somestuff'

I don't like it when stuff doesn't work and I don't see error
messages.  Any thoughts on how to avoid errorless ajax bugs like this?

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

Reply via email to