Description
Is:
The example does not compile
- new DefaultPageManagerProvider() does not exist. The application is needed as an attribute.
- pageManagerContext is not visible. A getter must be used.
Proposal / working example:
Example.java
@Override public void init(){ super.init(); setPageManagerProvider(new DefaultPageManagerProvider(this){ @Override protected IDataStore newDataStore() { return new HttpSessionDataStore(getPageManagerContext(), new PageNumberEvictionStrategy(20)); } }); }