Page 1 of 1

AJAX actions?

PostPosted: Thu Aug 14, 2008 11:37 am
by gorzek
I have a situation where I want to have some forms on a page, and clicking the submit button on such a form would do a few things:

1. Make an asynchronous call to a particular Xataface action, passing in a couple parameters.
2. Display a message in the page itself to indicate that the action was performed.

Does Xataface support something like this out-of-the-box or will I need to roll my own solution here?

Thanks in advance!

PostPosted: Mon Aug 18, 2008 9:17 am
by shannah
Well, Xataface does include an ajax wrapper library to make this easier (see js/ajaxgold.js) . And you can implement custom actions to return in JSON or XML format that is kind to ajax. But other than that you'll have to stitch the pieces together.

-Steve