I was looking at the paging feature but it will display all pages. Example I have 42 pages of products and it is wrapping and looks bad the code looks like this:
<div class="pager" th:unless="${#lists.isEmpty(products)}">
<span class="heading">Page:</span>
<ul>
<li th:each="num : ${#numbers.sequence(1, result.totalPages)}">
<a blc:paginationpagelink="${num}" th:text="${num}" th:class="${result.page == num}? 'active'"></a>
</li>
</ul>
</div>
-----------------------------------------------------------------------------------------------------------------------------------------
${#numbers.sequence(1, result.totalPages)}"> <------ I would like to display the first 5 pages with a more... like to show the next 5 but I am not so good at using Thymeleaf at the moment....
can I get a little help with this ?
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.