I'm fairly new to AJAX and starting to discover some  of the issues
that need to be dealt with. Recently I've discovered the problem of
clicking on a button twice before the first click's response is
received. For example.. I have a list of items with a "REMOVE" button.
If I click on the remove button, it might take a few seconds for the
screen to update and the item to be removed. During this time the
button on the screen does not represent the state on the server, and
clicking again might cause an error condition since I might be trying
to remove a non-existant item.

I guess in general, my question is. Should an AJAX framework allow the
execution of further AJAX requests in parallel? Is there in any
provision in Tacos or Dojo or other frameworks that would disallow
input until the response for the previous request is received? Is this
something that belongs in the AJAX framework or  should this be
handled in the application?

I remember first seeing this issue in non-ajax frameworks with
submitting a form multiple times. In this case the framework used
javascript to allow only one click on the submit button.

Any thoughts?

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to