adminfaces / admin-starter-tomcat

Starter project configured to run on tomcat
11 stars 16 forks source link

Sorting tables does not work with Primefaces 10 dependency #11

Open ksreyr opened 3 years ago

ksreyr commented 3 years ago

Sorting tables functionality does not work with the Primefaces dependency in version 10, even though it works with version 8.

sorting_Tables

I have even tried the example case proposed in the project with tomcat and the functionality does not work well either.

I wonder if you know of any reason why this bug occurs on the tomcat 9 servers? and how to repair it in version 10 of primefaces ?.

I remain attentive to your response and I will be available for any question or information you need from me.

best regards.

rmpestano commented 3 years ago

Hi, did you updated admin-template as well? If not can you try latest version?

Also I had the same problem while updating other admin-starters to Primefaces 8, check this commit: https://github.com/adminfaces/admin-starter/commit/6c37200772e8a7dbec5e7ccaab6c09380e68eda4

I'll update this project once I have time

ksreyr commented 3 years ago

Hello, thanks for your quick response.

I have tried with the latest version of admin-theme and primefaces. specifically:

What impresses me is that in the project, which uses the Wildfly server, this functionality works without a problem. I hope that soon there could be more information on the Issue.

rmpestano commented 3 years ago

The main issue with this project is that it is using PrimeFaces 7, and to migrate to 8 or even 10 you need to follow their migration guides, that's what I did on the other admin-starter projects. Also check the commit I referenced here, you should see some changes on load while initializing the LazyDataModel

I hope it helps