posted 6 years ago
Hi,
I am trying to follow a tutorial on pagination using Spring MVC's PagedListHolder object. I am integreating it with my own controller class and thymeleaf view. The code is as follows:
StoreController
Thymeleaf View Page
ProductService
I get a fault in my controller @ line 16 " pagedListHolder = newPagedListHolder(productService.getByCategoryId()); " as my method call here is not the same as the method in ProductService @ line 8 " public List<Product> getByCategoryId(Byte id) { ", when I try and change it the PagedListHolder comes up with an unresolved fault.
Thanks in advance,
Regards,
Gus