Hi,

You need to create a custom IPageManagerProvider.
To make it simpler you can extend from
https://github.com/apache/wicket/blob/wicket-8.x/wicket-core/src/main/java/org/apache/wicket/DefaultPageManagerProvider.java
and override its #newPageStore(IDataStore)
and return an IPageStore that does nothing but delegates to the IDataStore.

Then in YourApplication#init() call setPageManagerProvider(yourProvider);

On Wed, Apr 14, 2021 at 5:07 PM Bergmann Manfred <[email protected]>
wrote:

> Hi.
>
> Is there a way to disable the first level cache in Wicket 8?
> Reading the documentation this should be the session attribute named:
> „persistentPageManagerData“.
> Since this attribute is written in PageStoreManager (specifically
> PersistentRequestAdapter) I’m not entirely certain how to accomplish that
> in a proper way.
> It would be sufficient for me to run the application from the second level
> cache only.
>
>
> Manfred
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to