Hi Thomas,
many thanks for testing so early!
Set a custom provider of the page manager, see wicketstuff's
gae-initializer as an example:
application.setPageManagerProvider(new
GaePageManagerProvider(application, maxPages));
https://github.com/wicketstuff/core/blob/master/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaePageManagerProvider.java
Have fun
Sven
Am 22.04.19 um 18:47 schrieb Thomas Heigl:
Hi all,
I just experimentally upgraded my application to 9.0.0-M1. Most things are
straight forward, but I'm struggling with replicating my current page
manager configuration using the new API.
My current configuration for Wicket 8 looks like this:
setPageManagerProvider(new DefaultPageManagerProvider(this) {
@Override
protected IDataStore newDataStore() {
return new HttpSessionDataStore(getPageManagerContext(), new
PageNumberEvictionStrategy(10));
}
});
What is the Wicket 9 equivalent of this?
Thanks,
Thomas