Thx, just found what I was looking for.  

Another problem I'm facing is that sorting doesn't work. I'm not implementing 
it myself, I'm leaving it to the display tag itself.  For some reason sorting 
doesn't work, but I have no idea why.  I'm using the exact same code on other 
pages, but I didn't have the same problem before.

Maybe a stupid question, but does DisplayTag perform the sorting itself?  I 
assume the answer is yes.  Where does it sort the data (class, method)?  

Thanks

________________________________________
Van: Ed Webb [...@mws-systems.co.uk]
Verzonden: dinsdag 14 juli 2009 12:31
Aan: displaytag-user@lists.sourceforge.net
Onderwerp: Re: [displaytag-user] Number of results

De Bakker, Bjorn wrote:
> Maybe a bit of a stupid question, but we're using displaytag to show records 
> in a table.  Above the table, there's a header which states the amount of 
> results that are present in that particular table.  Where does DisplayTag get 
> that number?  I've already checked the code, but I couldn't find any 
> reference.

You pass the array, collection, map or whatever of objects to the
displayTag library and it uses the size() or similar method to get the
total number of rows. That's why you need to explicitly set the total
number of rows if you implement partial lists.

Ed!

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to