AJAX actions?

A place for users and developers of the Xataface to discuss and receive support.

AJAX actions?

Postby gorzek » Thu Aug 14, 2008 11:37 am

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!
gorzek
 
Posts: 27
Joined: Thu Jun 19, 2008 9:57 am

Postby shannah » Mon Aug 18, 2008 9:17 am

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved