Thanks, Narcis.  I need the list index (or some other row number field) 
so that I can number each row consecutively--1,2,3,...101, 102,... 
(object ids/primary keys wouldn't help).

Is there a way to get the values from the paging banner into a 
TableDecorator to use as an offset for row numbering?


> You may use the header (banner) information that tells you the total number
> of objects and also from which index to which index it is displaying on the
> current page. - see http://displaytag.sourceforge.net/1.2/configuration.html
> Why do you need the list index ? Can't you just use the id of the objects or
> it's primary key ?
> Otherwise you may set on the object the list index when you populate the
> list, but that would mean adding another property to your object.
> 
> Cheers,
> Narcis
> 



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to