This content has been marked as final.
Show 4 replies
-
1. Re: Ajax and multiple requests
sergeysmirnov Jan 11, 2008 12:30 PM (in response to jeffzzang)http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxAttributes.jsf
Read about "Queue and Traffic Flood Protection" there. -
2. Re: Ajax and multiple requests
m.a.g Jul 9, 2008 3:17 PM (in response to jeffzzang)"SergeySmirnov" wrote:
http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxAttributes.jsf
Read about "Queue and Traffic Flood Protection" there.
Current attributes set is not enought.
Let's look the following example. There is a data table, there is "remove item" link (h:commandLink) in each row. User clicks link in the first row twice quickly. As result the first and the second rows are removed.
I would like to disable more than one "remove item" event in queue, so the "ignoreDupRequests" attribute would be usefull. Currently I should manually disable "remove item" links until the first request is completed. -
3. Re: Ajax and multiple requests
sergeysmirnov Jul 9, 2008 4:43 PM (in response to jeffzzang)This looks like the problem in your application code. What is on the model level that allows to perform the action on the row that the link is not belong to?
What is on your page and what is in the java code.
And, no. RichFaces has no such customizable queue manager. No such plans for the closest future. -
4. Re: Ajax and multiple requests
daniel.soneira Jul 10, 2008 4:28 AM (in response to jeffzzang)You could possibly disable the other links by using a4j:status onStart in combination with some javascript code (jquery comes to mind) and enable them again in onStop.