RE: Components can no longer be added

2013-12-10 Thread Colin Rogers
. -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: Monday, December 9, 2013 8:01 PM To: users@wicket.apache.org Subject: Re: Components can no longer be added Hi, once rendering of components via Ajax has started, you cannot update components. AbstractTree#expand

Re: Components can no longer be added

2013-12-09 Thread Sven Meier
Hi, once rendering of components via Ajax has started, you cannot update components. AbstractTree#expand() is a convenience method that updates the expanded branch automatically, hence you get the IllegalStateException. You should just add all expanded nodes to your tree's model. That's

Re: Components can no longer be added

2013-12-08 Thread Bernard
Hi, I am an expert in shooting myself in the foot with Wicket / Java problems. In a situation like this, I would do the same as you do - isolate the pattern and make a quickstart. Unfortunately, this approach is full of assumptions, and my statistics say that this succeeds only in 20% of all

RE: Components can no longer be added

2013-12-08 Thread Colin Rogers
[mailto:bht...@gmail.com] Sent: Monday, December 9, 2013 5:23 PM To: users@wicket.apache.org Subject: Re: Components can no longer be added Hi, I am an expert in shooting myself in the foot with Wicket / Java problems. In a situation like this, I would do the same as you do - isolate the pattern