Re: Component Instantiation Listener Problem

2010-03-08 Thread Ben Tilford
Exactly what I needed. On Mon, Mar 8, 2010 at 12:04 PM, Igor Vaynberg wrote: > yes it is intended. you are not really meant to mock with the class > because the listener is called before the constructors of your > subclasses have finished. > > there are listeners you can use that are called in on

Re: Component Instantiation Listener Problem

2010-03-08 Thread Igor Vaynberg
yes it is intended. you are not really meant to mock with the class because the listener is called before the constructors of your subclasses have finished. there are listeners you can use that are called in onbeforerender of components where you can mock with the actual component instance, not ju

Component Instantiation Listener Problem

2010-03-08 Thread Ben Tilford
I ran into an issue with a Component Instantiation Listener because the listener is notified before setModelImpl is called. Is this the intended behavior? It limits what you can do in your listener quite a bit.