I think this is a good idea. Did you file an issue for it, Dan?
---
Kito D. Mann -- Author, JavaServer Faces in Action
http://twitter.com/kito99 http://twitter.com/jsfcentral
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
+1 203-404-4848 x3
On Fri, Jun 12, 2009 at 2:08 PM, Dan Allen <dan.j.allen(a)gmail.com> wrote:
I would like to propose that we add some way to have a server-side
component tree removed from the session in the same way that there is a
@Remove method on a stateful session bean. As you know, the component tree
is only cleaned up when it falls out of the component tree queue in the
session (LRU). However, there are times in the application when it is clear
to the developer based on a navigation event that the user is departing a
page and will not restore it in the future. I suggest that we introduce the
method remove() on UIViewRoot that removes the component tree from the
session immediately.
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan
NOTE: While I make a strong effort to keep up with my email on a daily
basis, personal or other work matters can sometimes keep me away
from my email. If you contact me, but don't hear back for more than a week,
it is very likely that I am excessively backlogged or the message was
caught in the spam filters. Please don't hesitate to resend a message if
you feel that it did not reach my attention.