So, why would you need an interface, then? Just do this. On Thu, Sep 23, 2010 at 6:16 AM, Ernesto Reinaldo Barreiro <[email protected]> wrote: > Well you could have your hierarchy of classes and on your base class call > > getApplication().notifyComponentInstantiationListeners(this); > > As component does. > > Ernesto > > On Thu, Sep 23, 2010 at 12:11 PM, James Carman > <[email protected]> wrote: >> On Thu, Sep 23, 2010 at 5:46 AM, Ernesto Reinaldo Barreiro >> <[email protected]> wrote: >>> >>> So that other classes could use the same trick by implementing >>> IInstantiable ? >>> >> >> How, exactly, is Wicket going to know when they're instantiated? The >> only way the component instantiation stuff works is that the Component >> constructor does the notification. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
