the page should be detached when it is stored in the session.
Where doesn't that happen?

johan


On 11/27/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:

* Matej Knopp:

> I  believe  that  patch  wasn't  meant  to  be  applied  against
> 1.2.3. It's should be applied against 1.x (1.3), which I believe
> it already was.

It is not meant to be applied against 1.2.3, but I need it.

> Making StringResponse serializable  is not a good  idea IMHO, as
> the problem is somewhere else. The response classes should never
> be stored in session.

Apparently, the needed  change is also to detach the  Page when it
is stored in the session to  avoid storing the header.  It is part
of the  «stateless support»  refactoring that  has been  done in
branch 1.x, I found the interesting change in HttpSessionStore:


http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/HttpSessionStore.java?r1=473516&r2=473515&pathrev=473516
--
     Jean-Baptiste Quenot
aka  John Banana   Qwerty
http://caraldi.com/jbq/

Reply via email to