Re: Precondition Check

2014-02-06 Thread Martin Grigorov
Hi, I see you don't have custom AjaxRequestAttributes, so no custom preconditions. Wicket has just one default precondition - it will execute the Ajax call only if the related HTML element (the link) is in the current document.

RE: Precondition Check

2014-02-06 Thread Richter, Marvin
That is the point I don't get ... how can an element doesn't exist in DOM but I can click on it? Marvin Richter -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, February 06, 2014 3:05 PM To: users@wicket.apache.org Subject: Re: Precondition Check

Re: Precondition Check

2014-02-06 Thread Martin Grigorov
in DOM but I can click on it? Marvin Richter -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, February 06, 2014 3:05 PM To: users@wicket.apache.org Subject: Re: Precondition Check Hi, I see you don't have custom AjaxRequestAttributes, so

RE: Precondition Check

2014-02-06 Thread Richter, Marvin
@wicket.apache.org Subject: Re: Precondition Check you can click on it and the event listener can delay the actual Ajax call as much as it wants (Wicket's AjaxChannel.QUEUE does exactly this). E.g. click two times on the link, the first click fires Ajax call (the second click waits), its response removes

Re: Precondition Check

2014-02-06 Thread Martin Grigorov
: Thursday, February 06, 2014 3:22 PM To: users@wicket.apache.org Subject: Re: Precondition Check you can click on it and the event listener can delay the actual Ajax call as much as it wants (Wicket's AjaxChannel.QUEUE does exactly this). E.g. click two times on the link, the first click fires

RE: Precondition Check

2014-02-06 Thread Richter, Marvin
Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, February 06, 2014 3:40 PM To: users@wicket.apache.org Subject: Re: Precondition Check So the check fails here https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js?source=c#L511