Details
Description
When using Tomcats o.a.c.h.t.SimpleTCPCluster to replicate Sessions in a Tomcat cluster the o.a.c.h.s.DeltaSession is the default implementation which handles session replication
Unfortunately, to calculate its deltas, it assumes that session attributes are only modified by calling accessor methods (i.e. DeltaSession.setAttribute(n,v))
Modifying an existing Object (e.g. wicket's PageTable) in place of the current session, would not trigger a delta replication
To make Wicket work with SimpleTCPCluster and DeltaSessions, we will always rewrite the PageTable into Session by calling setAttribute