Re: Review:revert to old listener restore mechanism

From: Adam Winer <>
Date: Tue, 17 May 2005 13:11:03 -0700

Ed Burns wrote:
>>>>>>On Tue, 17 May 2005 10:53:49 -0700, Jayashri Visvanathan <Jayashri.Visvanathan_at_Sun.COM> said:
> JV> M src/javax/faces/component/
> JV> If we override the listeners list with the list persisted by the
> JV> state saving mechanism, transient listeners will be lost.
> JV> So revert back to the old way of restoring listeners.
> This is fine. Make sure to add a readme that states that adding a
> listener in the ctor is a bad idea.

I don't think we can say "bad idea"; either the spec
says it's completely illegal, or we need to support it.
What's the issue with adding a listener in the constructor
of a subclass of UIComponentBase?

-- Adam