The IModel contract allows models to return any type of object. This
could be a Serializable object that is retained in the model at all
time (like Model does) or a non-serializable object that is
(re)created at every invocation of getObject.
This non serializable object would obviously not be stored in the session.

Maurice

On Mon, Apr 21, 2008 at 2:47 PM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
>    Hi everyone,
>
>    I am going to ask probably the most stupid question ever :) Why
>  does the method getObject of IModel return Object but not
>  Serializable? I suspect a model object is meant to be always stored in
>  a session?
>
>    Vitaly
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to