Re: Dancing Debug window

2013-04-16 Thread Martin Grigorov
On Tue, Apr 16, 2013 at 10:56 AM, Colin Rogers <
colin.rog...@objectconsulting.com.au> wrote:

> Francois/ Martin,
>
> >> Call the method component's setOutputMarkupId(true);
> feedbackPanel.setOutputMarkupId(true);
>
> I know what the issue is... I'm expressing an issue with the way the error
> is reported... An error reporting system shouldn't cause errors when
> reporting errors...! :)
>

It doesn't cause error. It is just slow.


>
> (Actually - the particular components *do* have setOutputMarkupId set to
> true - there is a another issue where they are being updated - several
> times - from different places, simultaneously. But that isn't important.)
>
> >> The best way is to fix the errors so there is no activity in the debug
> window at all ;-) A workaround is to monkey-patch
> Wicket.Ajax.DebugWindow.logError()
> function. You can re-assign it so anything that fits your needs.
> >> I think we can improve this by throttling the animations. I.e. they
> will be executed only once Nms after the last error log.
>
> Yeah - that's kinda what I was thinking. Which each ajax response, the
> animations should only execute once, not cumulatively per error received.
>
> We have huge forms with many 'framework' components. When refactoring
> these components, and consequently causing errors, bucket loads of Ajax
> errors can potentially be raised. And they are difficult and frustrating to
> fix with an overly enthusiastic dancing debug window...! I'm thankful it
> doesn't come with sound effects... ;)
>
>
File a ticket with a quickstart and it will be addressed.


> Cheers,
> Col.
>
> -----Original Message-
> From: francois meillet [mailto:francois.meil...@gmail.com]
> Sent: 16 April 2013 17:29
> To: users@wicket.apache.org
> Subject: Re: Dancing Debug window
>
> Call the method component's setOutputMarkupId(true);
> feedbackPanel.setOutputMarkupId(true);
>
> see
>
> http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Component.html#setOutputMarkupId(boolean)
>
>
> François
>
>
> On Tue, Apr 16, 2013 at 9:20 AM, Colin Rogers <
> colin.rog...@objectconsulting.com.au> wrote:
>
> > Hi there guys,
> >
> > When I get an issue with Ajax that generates a report, as below (i.e.
> > with tons of errors.) The Ajax Debug Window 'dances' for ages... it
> > also slows the browser down to almost nothing, and while it 'dances'
> > is almost un-clickable.
> >
> > Is there any way to solve this?
> >
> > Cheers,
> > Col.
> >
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanel240]] was not found while trying to perform markup update.
> > Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanel241]] was not found while trying to perform markup update.
> > Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanel242]] was not found while trying to perform markup update.
> > Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanel243]] was not found while trying to perform markup update.
> > Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanelMain244]] was not found while trying to perform markup
> > update. Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanelMain245]] was not found while trying to perform markup
> > update. Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanel246]] was not found while trying to perform markup update.
> > Make sure you called component.setOutputMarkupId(true) on the
> > component whose markup you are trying to update.
> > ERROR: Wicket.Ajax.Call.processComponent: Component with id
> > [[feedbackPanelMain247]] was not found while trying to perform markup
> > update. Make sure you called 

RE: Dancing Debug window

2013-04-16 Thread Colin Rogers
Francois/ Martin,

>> Call the method component's setOutputMarkupId(true); 
>> feedbackPanel.setOutputMarkupId(true);

I know what the issue is... I'm expressing an issue with the way the error is 
reported... An error reporting system shouldn't cause errors when reporting 
errors...! :)

(Actually - the particular components *do* have setOutputMarkupId set to true - 
there is a another issue where they are being updated - several times - from 
different places, simultaneously. But that isn't important.)

>> The best way is to fix the errors so there is no activity in the debug 
>> window at all ;-) A workaround is to monkey-patch 
>> Wicket.Ajax.DebugWindow.logError()
function. You can re-assign it so anything that fits your needs.
>> I think we can improve this by throttling the animations. I.e. they will be 
>> executed only once Nms after the last error log.

Yeah - that's kinda what I was thinking. Which each ajax response, the 
animations should only execute once, not cumulatively per error received.

We have huge forms with many 'framework' components. When refactoring these 
components, and consequently causing errors, bucket loads of Ajax errors can 
potentially be raised. And they are difficult and frustrating to fix with an 
overly enthusiastic dancing debug window...! I'm thankful it doesn't come with 
sound effects... ;)

Cheers,
Col.

-Original Message-
From: francois meillet [mailto:francois.meil...@gmail.com]
Sent: 16 April 2013 17:29
To: users@wicket.apache.org
Subject: Re: Dancing Debug window

Call the method component's setOutputMarkupId(true); 
feedbackPanel.setOutputMarkupId(true);

see
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Component.html#setOutputMarkupId(boolean)


François


On Tue, Apr 16, 2013 at 9:20 AM, Colin Rogers < 
colin.rog...@objectconsulting.com.au> wrote:

> Hi there guys,
>
> When I get an issue with Ajax that generates a report, as below (i.e.
> with tons of errors.) The Ajax Debug Window 'dances' for ages... it
> also slows the browser down to almost nothing, and while it 'dances'
> is almost un-clickable.
>
> Is there any way to solve this?
>
> Cheers,
> Col.
>
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel240]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel241]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel242]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel243]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain244]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain245]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel246]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain247]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain248]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel249]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are tryi

Re: Dancing Debug window

2013-04-16 Thread Martin Grigorov
Hi,


On Tue, Apr 16, 2013 at 10:20 AM, Colin Rogers <
colin.rog...@objectconsulting.com.au> wrote:

> Hi there guys,
>
> When I get an issue with Ajax that generates a report, as below (i.e. with
> tons of errors.) The Ajax Debug Window 'dances' for ages... it also slows
> the browser down to almost nothing, and while it 'dances' is almost
> un-clickable.
>
> Is there any way to solve this?
>

The best way is to fix the errors so there is no activity in the debug
window at all ;-)
A workaround is to monkey-patch Wicket.Ajax.DebugWindow.logError()
function. You can re-assign it so anything that fits your needs.

I think we can improve this by throttling the animations. I.e. they will be
executed only once Nms after the last error log.


>
> Cheers,
> Col.
>
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel240]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel241]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel242]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel243]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain244]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain245]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel246]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain247]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain248]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel249]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel24a]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24b]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24c]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel24d]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24e]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24f]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain250]] was not found while trying to perform markup
> update. Make su

Re: Dancing Debug window

2013-04-16 Thread francois meillet
Call the method component's setOutputMarkupId(true);
feedbackPanel.setOutputMarkupId(true);

see
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Component.html#setOutputMarkupId(boolean)


François


On Tue, Apr 16, 2013 at 9:20 AM, Colin Rogers <
colin.rog...@objectconsulting.com.au> wrote:

> Hi there guys,
>
> When I get an issue with Ajax that generates a report, as below (i.e. with
> tons of errors.) The Ajax Debug Window 'dances' for ages... it also slows
> the browser down to almost nothing, and while it 'dances' is almost
> un-clickable.
>
> Is there any way to solve this?
>
> Cheers,
> Col.
>
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel240]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel241]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel242]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel243]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain244]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain245]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel246]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain247]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain248]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel249]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel24a]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24b]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24c]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanel24d]] was not found while trying to perform markup update.
> Make sure you called component.setOutputMarkupId(true) on the component
> whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24e]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain24f]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.processComponent: Component with id
> [[feedbackPanelMain250]] was not found while trying to perform markup
> update. Make sure you called component.setOutputMarkupId(true) on the
> component whose markup you are trying to update.
> ERROR: Wicket.Ajax.Call.proces

Dancing Debug window

2013-04-16 Thread Colin Rogers
Hi there guys,

When I get an issue with Ajax that generates a report, as below (i.e. with tons 
of errors.) The Ajax Debug Window 'dances' for ages... it also slows the 
browser down to almost nothing, and while it 'dances' is almost un-clickable.

Is there any way to solve this?

Cheers,
Col.

ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel240]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel241]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel242]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel243]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain244]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain245]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel246]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain247]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain248]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel249]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel24a]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain24b]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain24c]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel24d]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain24e]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain24f]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain250]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the component whose 
markup you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanel251]] was not found while trying to perform markup update. Make 
sure you called component.setOutputMarkupId(true) on the component whose markup 
you are trying to update.
ERROR: Wicket.Ajax.Call.processComponent: Component with id 
[[feedbackPanelMain252]] was not found while trying to perform markup update. 
Make sure you called component.setOutputMarkupId(true) on the