I'm trying to use a Datascroller with a LazyDataModel and the load method from lazy data model is getting called twice.
Appart from thinking that it is not so good to call the load method multiple times (that may perform costly server/DB roundtrips), since my lazy data model not idempotent (meaning, two consecutive calls to the model on the same window/page size returns different outcomes) the fact that it's being called twice means: the presented results are not correct.
Is it normal for the load method in datascroller to be called twice? If so, any workarounds suggested for my alternative to work correctly? (appart from changing from statefull to stateless data model)
Using Primefaces 5.1, JSF2, Glassfish 4.1