You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ashley Reed <aj...@gmail.com> on 2013/02/13 22:28:05 UTC
Multipart ajax form submit channel
I just wanted to ask this question before figuring out how to file a
bug. I'm using Wicket 1.5.6, and it seems like multipart ajax form
submits don't block the ajax channel. I'm doing an ajax submit that
causes the form to go away, and other ajax links on the form don't wait
until the form submission is complete. The result is that other ajax
links cause an exception if they're clicked before the form submission
is complete because the objects no longer exist in the page. I would
think the precondition on the links shouldn't be tested until the
channel is available. Is this a bug?
Thanks,
Ashley
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Multipart ajax form submit channel
Posted by Ashley Reed <aj...@gmail.com>.
Thanks Martin. Hopefully I can upgrade the app soon without much
trouble. I was able to work around it by overriding Wicket's Javascript
function that submits multipart forms via AJAX.
On 02/18/2013 02:18 AM, Martin Grigorov wrote:
> Hi,
>
> This is improved in Wicket 6.
> Please upgrade your application.
>
>
> On Wed, Feb 13, 2013 at 11:28 PM, Ashley Reed <aj...@gmail.com> wrote:
>
>> I just wanted to ask this question before figuring out how to file a bug.
>> I'm using Wicket 1.5.6, and it seems like multipart ajax form submits don't
>> block the ajax channel. I'm doing an ajax submit that causes the form to go
>> away, and other ajax links on the form don't wait until the form submission
>> is complete. The result is that other ajax links cause an exception if
>> they're clicked before the form submission is complete because the objects
>> no longer exist in the page. I would think the precondition on the links
>> shouldn't be tested until the channel is available. Is this a bug?
>>
>> Thanks,
>> Ashley
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org<us...@wicket.apache.org>
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Multipart ajax form submit channel
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
This is improved in Wicket 6.
Please upgrade your application.
On Wed, Feb 13, 2013 at 11:28 PM, Ashley Reed <aj...@gmail.com> wrote:
> I just wanted to ask this question before figuring out how to file a bug.
> I'm using Wicket 1.5.6, and it seems like multipart ajax form submits don't
> block the ajax channel. I'm doing an ajax submit that causes the form to go
> away, and other ajax links on the form don't wait until the form submission
> is complete. The result is that other ajax links cause an exception if
> they're clicked before the form submission is complete because the objects
> no longer exist in the page. I would think the precondition on the links
> shouldn't be tested until the channel is available. Is this a bug?
>
> Thanks,
> Ashley
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org<us...@wicket.apache.org>
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>