As long as you are not holding references on your own it will be collected after a replaceWith.
On deleting pages: You could use DefaultPageStore.removePage but I am not sure if that's a really good idea. Wicket is pretty good in managing what's in the store and you should rely on its behavior as much as possible. On Sun, Jan 13, 2013 at 12:41 AM, fachhoch <fachh...@gmail.com> wrote: > Thanks for your reply, I am assuming if I use component.replacewith will > the old component is replaced with the new componenet and the old is no more > in the component tree so will be gc colected , sure I am not holding any > references top it. > second if I move out of this page to some other page can i delete all > version of this page from pagemap ? > if so please tell me how . > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/update-panels-inside-webmarkupcontainer-tp4655279p4655319.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org