I can not to find class ShowcasesUtil, that is use to filters, sorting of PrimeFaces LazySorting, LazyFiltering. Example below:
public int compare(Customer customer1, Customer customer2) {
try {
Object value1 = ShowcaseUtil.getPropertyValueViaReflection(customer1, sortField);
Object value2 = ShowcaseUtil.getPropertyValueViaReflection(customer2, sortField);
int value = ((Comparable) value1).compareTo(value2);
return SortOrder.ASCENDING.equals(sortOrder) ? value : -1 * value;
}
catch (Exception e) {
throw new RuntimeException(e);
}
}
Found information that it is a part of PrimeFaces Extensions: primefaces.extension.showcase. I try with 11.0.6 but still can not find this class in package. How to use it?
I try find it in PrimeFaces Extensions showcase 11.0.6.