Hi,
with that setup you lose back-button support - the serializer you're
passing to the InSessionPageStore is used only should the container
serialize the web session.
You should serialize *all* pages into the persistent store instead:
var store: IPageStore = new InSessionPageStore(1)
store = new SerializingPageStore(store)
store = new CachingPageStore(store, new InMemoryPageStore("ui", 5))
store = new RequestPageStore(store)
new PageManager(store)
Hope this helps
Sven
On 01.04.21 16:44, Bergmann Manfred wrote:
OK, got it.
A sequence of this:
var store: IPageStore = new InSessionPageStore(1,
getFrameworkSettings().getSerializer())
store = new CachingPageStore(store, new InMemoryPageStore("ui", 5))
store = new RequestPageStore(store)
new PageManager(store)
seems to do it.
Thanks,
Manfred
Am 01.04.2021 um 15:27 schrieb Bergmann Manfred <m...@software-by-mabe.com>:
Hi.
In Wicket 8 we used HttpSessionDataStore.
What is the right replacement for this in Wicket 9?
I tried overriding newPersistentStore() with InSessionPageStore but that
doesn’t seem to do the same as HttpSessionDataStore.
Manfred
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org