Hi, Where is it said that passing IModel is an issue? It could be an issue if it is not a subclass of LoadableDetachableModel.
Bernard On Sat, 15 May 2010 20:33:11 +0200, you wrote: >Hi, > >Can someone explain me why it is a memory issue when an instance of an >anonymous IModel class is passed to another page to be shared, but it seems to >be no problem when a page reference is passed to another page and is put in an >instance field (for example to be used in a button to navigate back to >previous page)? > >Many thanks. > >Regards, >Rik > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >For additional commands, e-mail: users-h...@wicket.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org