Grab a wicket handler to the parent and then call
ParentComponent.repaceWith(ChildComponent) method:
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Compone
nt.html#replaceWith(org.apache.wicket.Component)
~ Thank you,
Paul Bors
-Original Message-
From: Boris Brinza
Hi,
Extract the code in a Panel component and reuse it in different pages.
On Mon, Aug 5, 2013 at 5:18 PM, Boris Brinza wrote:
> hello
> is it possible to replace content of div with content of
> WebMarkupContainer when user clicks on ajaxLink?
>
> I have DataView enclosed in WebMarkupContainer