Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-26 Thread Yiu Wing TSANG
Yes, this is fine, thanks. On Wed, Mar 25, 2015 at 2:19 PM, Martin Grigorov mgrigo...@apache.org wrote: I guess it will be just before Apache Con, i.e. in two weeks. Can you use -SNAPSHOT until then ? Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-26 Thread Martin Grigorov
Note that you have to explicitly set a request timeout for the AjaxButton if you want to be notified about the error in connection. See the comments in the ticket for details. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu,

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-25 Thread Martin Grigorov
I guess it will be just before Apache Con, i.e. in two weeks. Can you use -SNAPSHOT until then ? Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Mar 25, 2015 at 6:53 AM, ywtsang ywts...@gmail.com wrote: Sorry that I missed

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-24 Thread Martin Grigorov
Hi, Please file a ticket at our JIRA. We should improve this. E.g. by calling #onFailure() if the iframe doesn't load after some timeout (jQuery#ajax()'s timeout). Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 24, 2015

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-24 Thread Martin Grigorov
OK. I can reproduce the problem with Firefox. Chrome works fine. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 24, 2015 at 11:28 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, I cannot reproduce the problem.

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-24 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-5864 Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 24, 2015 at 11:53 PM, Martin Grigorov mgrigo...@apache.org wrote: OK. I can reproduce the problem with Firefox. Chrome

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-24 Thread Martin Grigorov
Hi, I cannot reproduce the problem. The iframe with the Connection error content is indeed loaded but wicket-ajax-jquery.js' #handleMultipartComplete() is called (i.e. 'load' event is fired). Then onFailure() [1] is called and finally Channel#done() [2] is called to release it. I don't see why it

Re: wicket abort ajax handling of multipart form when the server is stopped

2015-03-24 Thread ywtsang
Sorry that I missed to mention the browser. Thanks for the quick help. Do we have any schedule for the next wicket-7 release? -- View this message in context:

wicket abort ajax handling of multipart form when the server is stopped

2015-03-23 Thread ywtsang
in normal case, I have tested that wicket ajax multipart form submit event can be triggered properly in this sequence onbefore onprecondition onbeforesend onafter onsucess oncomplete but when the server is stopped and the same ajax multipart form is submitted, only these events are