What would you like to detach?
What is inside that card object? I guess thats a temp storage object
of shopping items?

Do remenber that getting the card object from the session isnt thread
safe! (mutating it can be done from more then one thread if different
pagemaps and so on are used)

On 1/21/08, Martijn Lindhout <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I wonder if this will work:
>
> add(new CartPanel("cart", new PropertyModel(s, "cart")));
>
> where 's' is my app specific session, containing the method getCart() which
> checks the session for an existing cart, and if not found creates one.
>
> Is this enough to handle load/detach? Or do I have to write my own
> LoadableModel....
>
> --
> Martijn Lindhout
> JointEffort IT Services
> http://www.jointeffort.nl
> [EMAIL PROTECTED]
> +31 (0)6 18 47 25 29
>

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

Reply via email to