your models shouldnt keep a reference to that object, they should know how
to retrieve it and do so when getobject() is called.
-igor
On 12/1/06, A. Zwaan <[EMAIL PROTECTED]> wrote:
Hello Erik,
I'm using wicket 1.2.
The pages themselves get the data from an object in the session every time
it's needed. There are quite a few panels though that use models which in
turn do have a reference to the object in the session. But I don't see a
possibility of changing that somehow, the models need access to the object
in several methods, and I can't use parameters to give it to the method
directly. So I hope that's not where the problem is.
Regards,
Arjan Zwaan.
Date: Thu, 30 Nov 2006 15:05:30 +0100
From: Erik van Oosten <[EMAIL PROTECTED]>
Subject: Re: [Wicket-user] Problem disabling PageMaps (Erik van
Oosten)
To: wicket-user@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8; format=flowed
Hi Arjan,
What Wicket version are you using?
In addition, you can try to identify components that keep references to
objects outside the page structure. In wicket 2 this will all be serialized
so you need to keep your components lean. If you use clustering this is also
important in wicket 1.
Erik.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user