Re: Debugging 'component has been removed from page'

2017-01-17 Thread Martin Grigorov
On Tue, Jan 17, 2017 at 11:39 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > @Martin, > > May the exception could contain info about failing request (e.g. URL, if > it AJAX and so on). > This is possible with Logback/Log4j configuration. No need Wicket to try to extract this

Re: Debugging 'component has been removed from page'

2017-01-17 Thread Ernesto Reinaldo Barreiro
@Martin, May the exception could contain info about failing request (e.g. URL, if it AJAX and so on). On Tue, Jan 17, 2017 at 11:06 AM, Martin Grigorov wrote: > Hi Maxim, > > Try with MarkupContainer #replace() and #remove() methods. > > Martin Grigorov > Wicket Training

Re: Debugging 'component has been removed from page'

2017-01-17 Thread Martin Grigorov
Hi Maxim, Try with MarkupContainer #replace() and #remove() methods. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jan 17, 2017 at 10:59 AM, Maxim Solodovnik wrote: > Hello Ernesto, > > Thanks for the answer, I know why this _can_

Re: Debugging 'component has been removed from page'

2017-01-17 Thread Maxim Solodovnik
Hello Ernesto, Thanks for the answer, I know why this _can_ happen I was hoping I can set breakpoint somewhere to see why it happens in my case On Tue, Jan 17, 2017 at 4:12 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Imagine you have an AJAX action and that action replaces

Re: Debugging 'component has been removed from page'

2017-01-17 Thread Ernesto Reinaldo Barreiro
Imagine you have an AJAX action and that action replaces a panel... your page does not blocks the UI so the user can e.g. click on a component of the panel to be replaced (e.g the same of different AJAX action). As AJAX actions are queued at client side second action will only be executed aster

Debugging 'component has been removed from page'

2017-01-17 Thread Maxim Solodovnik
Hello All, Recently I got weird exception ComponentNotFoundException: Component 'id-sequence-here' has been removed from page. Maybe you know are there any way to debug why and when component was removed Thanks in advance! -- WBR Maxim aka solomax