Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3485601
By: carsonb

id_rowNum returns the row number in the table but changes when sorting is used
so that you could end up with row numbers: 1,3,2, etc... instead of 1,2,3...

I've seen the property getViewIndex for the table decorator but have no idea
how to access it. Help anyone?

Also, I've built my own TableDecorator that returns the actual (displayed) row
number but I can only access this as a display column property:
<display:column property="rowCounter" />

I need to be able to access this in EL like:
<display:column>
   <c:if test="${row.rowCounter}">
     do something...
   </c:if>
</display:column>

But I get an error because row is referring to the object in the list and not
my table decorator (which is being declared property).

I've search high and low, seen a few similar posts but no solutions!  Can anyone
please help?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249318


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to