Timo Rantalaiho wrote: > On Tue, 26 Jun 2007, Igor Vaynberg wrote: > >> interface IModelListener { onSet(IModel model) } >> >> class ModelMonitor implements IModel { >> private final IModel delegate; >> private List<IModelListener> listeners; >> > ... > > That's an interesting approach. Is it OK to keep references > to Component instances like that? We've thought that it > would be safer to always get the components dynamically, so > that you wouldn't get the danger of stale references. > I didn't know that. Is it unsafe to keep references to to Panels etc in a class variable of a Page? Why ? gr, Thies
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user