Hi Dan,

To avoid any possible ambiguity with physical page size, I would go for 
your last suggestion:
@Pagination(size=25) [or @Pagination(25)]

If that is too cumbersome (or you prefer a shorter annotation), then I'd 
also accept:
@Paged(size=25) (or PageWith, if you twist my arm!)

Offhand I can't think of anything else that might be better!

Regards,
Kevin

On 2 Sep 2012 at 19:53, Dan Haywood wrote:

> The Wicket viewer has built-in support for paging of large parented
> (Order#items) or standalone collections (CustomerRepo#listCustomers()).  I
> intend to add an annotation to allow the number of rows per page to be
> configured.
> 
> Any votes on what we call this annotation?
> 
> @Page(size=25)
> @Paged(size=25)
> @PageWith(size=25)
> @PageSize(25)
> @Pagination(size=25)
> 
> ... something else?
> 
> For what it's worth, Naked Objects MVC uses @PageSize(25).
> 
> Opinions please!
> 
> Thx
> Dan

Reply via email to