• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DisplayTag table external sorting problem

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello dear members,

I am using displayTag for pagination and sorting. I want the rows to get sorted asc/desc when i click on the column title.
my display Table code is as bellow:


there are more columns as well.

in the Action class- i have the following code to read according which column it will get sorted:



now when i print sortBy- it always prints null. means no value has been read from the parameter.

can anyone please point me out if i am doing some mistake? or if any changes needed?

thanks in advance
 
reply
    Bookmark Topic Watch Topic
  • New Topic