Thank you All!
Thank you, Igor! It works excellent.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-prevent-a-concurrent-click-on-ajax-links-AjaxFallbackLink-tp4660226p4660251.html
Sent from the Users forum mailing list archive at Nabble.com.
When I fast click in an AjaxFallbackLink in my DataTable the first click
works correct but next click generates Access Denied (You do not have access
to the page you requested.). And there is an exception
“RequestListenerInterface.invoke(..) | behavior not enabled; ignore call.”
I was trying to
Read here:
http://stackoverflow.com/questions/11773885/customizing-indicatingajaxlink-in-wicket
Sven
On 07/12/2013 01:17 PM, Steamus wrote:
When I fast click in an AjaxFallbackLink in my DataTable the first click
works correct but next click generates Access Denied (You do not have access
to
Thank you, Sven
The indicator works well, but unfortunately it doesn’t resolve the problem.
If a user want to double click on some link we have crash as before.
--
View this message in context:
See IAjaxIndicatorAware. Use it to display a veil that protect your page.
On Fri, Jul 12, 2013 at 5:03 PM, Steamus steam...@gmail.com wrote:
Thank you, Sven
The indicator works well, but unfortunately it doesn’t resolve the problem.
If a user want to double click on some link we have crash
the easiest way to do it is to tell the ajax channel used by the link
to drop requests if one is already in progress, this is called an
active channel.
add(new AjaxLink(..) {
updateAjaxAttributes(attrs) {
attrs.setChannel(new AjaxChannel(blocking, AjaxChannel.Type.ACTIVE));
}
}
if you