Simply include a counter in your JSP and increment it at the end of display:table tag.
Best Regards, Farruq -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Prakash Rangaraj Sent: Wednesday, October 27, 2004 1:55 PM To: [EMAIL PROTECTED] Subject: [displaytag-user] unique id for every cell Hi, In our application, we have a page where a Javascript refers to each cell in the table by an id. So I need to create the table like this: <table border="1" width="100%" cellspacing="0"> <tr> <td id="col11">blah, blah</td> <td id="col21">blah, blah</td> <td id="col41">blah, blah</td> <td id="col51">blah, blah</td> <td id="col61">blah, blah</td> </tr> <tr> <td id="col12">blah, blah</td> <td id="col22">blah, blah</td> <td id="col42">blah, blah</td> <td id="col52">blah, blah</td> <td id="col62">blah, blah</td> </tr> </table> Is there a way with display tag to create unique ids like this for every cell (and there should be a pattern like this, so that the javascript know which cell it is referring to)? Thanks in Advance. ~Pranni ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

