Yes.. LoadableDetachable makes more sense.

Douglas

On Jun 19, 2012, at 2:17 PM, Carl-Eric Menzel wrote:

> On Tue, 19 Jun 2012 14:01:13 -0500
> Douglas Ferguson <the...@gmail.com> wrote:
> 
>> I was intrigued by the comment that more extensive use of  Model
>> would reduce session size.
>> 
>> Why would this be? Won't models still wind up in the data graph for
>> the Page and thus be in the pagemap?
> 
> Well, apart from the fact that you should pretty much always be passing
> Models around in your Wicket layer rather than bare objects, I'm almost
> sure that article refers to LoadableDetachableModels. Those drop all
> references at the end of the request, except for something like a
> database key. In the next request, the required data is loaded again on
> the fly.
> 
> Carl-Eric
> 
> ---------------------------------------------------------------------
> 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

Reply via email to