Message:
The following issue has been closed.
Resolver: fabrizio giustina
Date: Tue, 19 Oct 2004 2:09 PM
duplicated of DISPL-49
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/DISPL-70
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DISPL-70
Summary: class attribute only evaluated once
Type: Bug
Status: Closed
Priority: Major
Resolution: DUPLICATE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
Tag Library
Versions:
1.0 RC2
Assignee: fabrizio giustina
Reporter: Dan Allen
Created: Mon, 18 Oct 2004 3:31 PM
Updated: Tue, 19 Oct 2004 2:09 PM
Description:
When JSTL is placed in the class attribute of the column tag, it is only evaluated on
the first iteration. After the first row, the same value is used repeatedly down the
set. This is a problem if the class must depend on the data in the row. For
instance, if I were coloring my rows based on the data, I might have
<display:column property="price" class="${row.saleType}"/>
In this case I might highlight the background using CSS for sale prices or something
of that nature. In the current implementation, every row takes on the color of the
column of the first evaluated row.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel