I wonder how I can dispay the row numbers of the resulting table using dispaytag?
I read that I can use uid_rowNum but how does the code look like? Would be thankful for some example code.
I am using Spring. So, how can I display a list using displaytag and dislaying the rownumber which should enable me to access particular list entries like myList[3] (where 3 should be uid_rowNum).
Thank you
Dirk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found out by myself that I have to define the 'uid' attribute in the display:table tag.
To get the current row number I have to use ${theDefinedUid_rowNum} and that's it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wonder how I can dispay the row numbers of the resulting table using dispaytag?
I read that I can use uid_rowNum but how does the code look like? Would be thankful for some example code.
I am using Spring. So, how can I display a list using displaytag and dislaying the rownumber which should enable me to access particular list entries like myList[3] (where 3 should be uid_rowNum).
Thank you
Dirk
I found out by myself that I have to define the 'uid' attribute in the display:table tag.
To get the current row number I have to use ${theDefinedUid_rowNum} and that's it.