File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with display tag