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.

- Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

-------------------------------------------------------------------------
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

Reply via email to