It appears loadJSONDoc("http://somedomain.org/somemethod") is
good/best AJAX way to get data from a TurboGears server....
** Should /somemethod be a controller with @expose("json") to return
JSONified Python dictionaries?
** What is good/best AJAX/MochiKit function to *send* data to
server??
I can't seem to find an example that sends AJAX data to server.
Sorry.
** Is there any advantage to sending data to server as JSON objects?
(I don't see how that will work since controllers aren't set up to
receive
JSON objects.)
Thanks,
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---