$ account jpenren
[github ↗]
1 repos indexed
Thymeleaf Spring Data Dialect is a library that integrates Spring Data pagination with Thymeleaf templates. It provides custom Thymeleaf attributes (sd:pagination, sd:pagination-sort, sd:page-size-selector, etc.) that generate pagination controls, sorting links, and page size selectors based on Spring Data's Page interface. The architecture cleanly separates concerns: attribute processors handle Thymeleaf-specific logic, pagination decorators handle presentation via a strategy pattern, and utility classes manage URL generation and context handling. The system uses Spring's ServiceLoader mechanism to discover pagination decorator implementations, making it extensible without modifying core code.
RATING:
MAINT: active
DRIFT: low