admin-starter
admin-starter copied to clipboard
Primefaces v11 not working. v10 has broken code
Hi, working on a vanilla clone, I've set Primefaces to v. 11.0.0 and it breaks the app. Moreover, it seems that even v. 10.0.0 isn't working as expected, out-of-the box because apparently the newer versions (after 8) have different requirements for LazyDataModel() - see load() method signature in CarListMB: old (working):
public List<Car> load(int first, int pageSize,
String sortField, SortOrder sortOrder,
Map<String, FilterMeta> filters){...}
new (expected):
@Override
public List<Car> load(int first, int pageSize, Map<String, SortMeta> map,
Map<String, FilterMeta> map1) {...}
Hi @alin-c,
Yes I noticed that, just didn't spend the time to fix it.
Thanks for the feedback!