admin-starter icon indicating copy to clipboard operation
admin-starter copied to clipboard

Primefaces v11 not working. v10 has broken code

Open alin-c opened this issue 3 years ago • 1 comments

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) {...}

alin-c avatar Feb 22 '22 09:02 alin-c

Hi @alin-c,

Yes I noticed that, just didn't spend the time to fix it.

Thanks for the feedback!

rmpestano avatar Feb 22 '22 12:02 rmpestano