This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with display tag
 
Similar Threads
Problem in using dynamic page size using partial list in Display tag
Ajax app
back button in struts using display tag
Using 3rd party API, display tag query regarding Pagination
Struts 2 Display tag