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 <m...@software-by-mabe.com>
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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to