Results 1 to 2 of 2

Thread: PagedListHolder sort-functionality: int-values not sorted correctly!

  1. #1
    Join Date
    Jan 2006
    Posts
    6

    Default PagedListHolder sort-functionality: int-values not sorted correctly!

    Hi!
    I am new to Spring and just started playing around with PagedListHolders. They seem to be pretty convienient - BUT I noticed that the built in sort capability doesn't really work for int-values to be sorted. It looks like they're treated as Strings which results to a strange "sorted list" like 1, 12, 13, 4 ...
    Is there a workaround? Would be great if someone could point me in the right direction,
    Thanks,
    B

  2. #2
    Join Date
    Jan 2006
    Posts
    6

    Default too stupid

    maybe it woul be helpful to declare the int-Variable as an int and not as String ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •