Dan,

Thanks for the pointer. It turned out that our webapp is using jQuery
already and adding WiQuery behavior caused a duplicate WiQuery's
jQuery reference possibly causing problems with handling Ajax
requests.

Thanks,

Alec

On Fri, Jul 22, 2011 at 6:16 PM, Dan Retzlaff <dretzl...@gmail.com> wrote:
> Alec,
>
> Have you checked that no JavaScript errors are being encountered on the
> client? We're not using WiQuery, but we encountered your channel busy
> symptom dealing with https://issues.apache.org/jira/browse/WICKET-3820. The
> client-side AJAX processing was choking before the channel was marked
> available.
>
> Dan
>
> On Fri, Jul 22, 2011 at 4:04 PM, Alec Swan <alecs...@gmail.com> wrote:
>
>> I didn't get any feedback on this and was thinking about posting this
>> on WiQuery forum but it didn't look very active. Does anybody have any
>> thoughts on why we are getting "Channel busy - postponing" message?
>>
>> Thanks
>>
>> On Tue, Jul 19, 2011 at 3:42 PM, Alec Swan <alecs...@gmail.com> wrote:
>> > Hello,
>> >
>> > We have a re-captcha button which refreshes captcha password image. It
>> > works fine until we add WiQuery ButtonBehavior to the button. With
>> > this behavior the captcha image is no longer refreshed and Wicked Ajax
>> > Debugger displays "INFO: "Channel busy - postponing". The following is
>> > a code snippet which describes the problem. Uncommenting add(new
>> > ButtonBehavior()) breaks re-captcha functionality.
>> >
>> > Please help,
>> >
>> > Thanks
>> >
>> > new AjaxLink("reCaptcha")
>> >            {
>> >                @Override
>> >                public void onClick(AjaxRequestTarget target) {
>> >                    password = newPassword();
>> >                    CaptchaImageResource captchaImageResource = new
>> > CaptchaImageResource(password);
>> >                    NonCachingImage imgCaptcha = new
>> > NonCachingImage("captchaImage", captchaImageResource);
>> >                    imgCaptcha.setOutputMarkupId(true);
>> >                    SignUpForm.this.addOrReplace(imgCaptcha);
>> >                    if (target != null) {
>> >                        target.addComponent(imgCaptcha);
>> >                    }
>> >                }
>> >            }//.add(new ButtonBehavior())
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to