the replaced panel is held in a "version" of the page. as soon as that
version is evicted from session panel1 can be garbage collected. if you are
using the default 2.0 disk session store this happens after the next
request.
-igor
On 2/9/07, Otan <[EMAIL PROTECTED]> wrote:
Example (in Wicket 2.0):
Panel panel1 = new MyCustomPanel(this, "searchPanel");
... then later in the same page (maybe, after an event)...
Panel panel2 = new MyOtherPanel(this, "searchPanel");
when panel2 was added, it replaced panel1 because they have the same id.
The question:...
Is panel1 becomes garbage-collection candidate as soon as it was replaced
by panel2? If not yet, when? Is it after the end of request, or is it after
invalidation of session?
Thanks a lot.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user