What do you do with "docModel" in that constructor?

On Fri, Dec 3, 2010 at 4:15 PM, Don <[email protected]> wrote:
> Hi,
>
> I would suspect that having a class like below I wouldnt really need to use a 
> LoadableDetachableModel model because I dont store it in some field of the 
> class (or any of the components used by it) so if the page gets stored into 
> session, that wouldnt bloat the session.
>
> Am I right in my thinking here, please?
>
> public class ResultPage extends WebPage {
>     // note no model stored as private fields of some type
>     // DocumentModel model;
>
>     public ResultPage(DocumentModel docModel) {
>         // ...
>     }
> }
>
> Tks
>
>
>
>

Reply via email to