wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Problem with display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Problem with display tag" Watch "Problem with display tag" New topic
Author

Problem with display tag

Navanethan Muthusamy
Greenhorn

Joined: Apr 06, 2009
Posts: 6

Hi All,
I am using display tag, Here I am using sorting as well as paging.
My problem is, When I am trying to sort the first only one page alone getting sorted. I am not getting records from other pages.

Kindly Let me know what can I do for getting all page sort.

Thanks,
Navanethan
Navanethan Muthusamy
Greenhorn

Joined: Apr 06, 2009
Posts: 6

Expecting solution.

~Navanethan
Mourouganandame Arunachalam
Ranch Hand

Joined: Oct 29, 2008
Posts: 396
Navanethan Muthusamy wrote:Expecting solution.

~Navanethan


You should not expect a solution within this short span of time (1 min)....


Mourougan
Open Source leads to Open Mind
Navanethan Muthusamy
Greenhorn

Joined: Apr 06, 2009
Posts: 6

I found the solution:

<display:table sort="list" .....>
.....
.....
.....
</display:table>

"sort" => Use 'page' if you want to sort only visible records, or 'list' if you want to sort the full list, or 'external' if the data is sorted outside displaytag.

More info: http://displaytag.sourceforge.net/11/displaytag/tagreference.html

Thanks,
Navanethan
 
Consider Paul's rocket mass heater.
 
subject: Problem with display tag
 
Similar Threads
back button in struts using display tag
Struts 2 Display tag
Using 3rd party API, display tag query regarding Pagination
Ajax app
Problem in using dynamic page size using partial list in Display tag