WebMarkupContainer and replaceWith

2011-05-11 Thread Anna Simbirtsev
Hi, I am trying to replace WebMarkupContainer with Panel, but get the following error: org.apache.wicket.markup.MarkupException: close tag not found for tag: div wicket:id=myContainer. The container has other elements attached to it. Is there any way to get it working or I can only replace

Re: WebMarkupContainer and replaceWith

2011-05-11 Thread Igor Vaynberg
panel tags in panel's parent markup cannot have any child wicket tags since that markup is replaced with the contents of the panel. -igor On Wed, May 11, 2011 at 11:26 AM, Anna Simbirtsev asimbirt...@gmail.com wrote: Hi, I am trying to replace WebMarkupContainer with Panel, but get the

Re: WebMarkupContainer and replaceWith

2011-05-11 Thread G. Kebba
Hallo Anna You have a XML wellformedness problem. Please close your div tag in the html template by adding /div. You should end up with div wicket:id=myContainer /div Gong Kampala, Uganda On Wednesday, May 11, 2011 08:26:22 PM Anna Simbirtsev wrote: Hi, I am trying to replace