Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3048706
By: jamluke
Hi,
I' ve a new problem: for change the background color of 'td column' in my
'display'
table I'd like to pass a java String in a style attribute like this:
request.setAttribute( "fixtures", new FixturesList() );
String color = "";
....
....
<display:table name="fixtures" defaultsort="1" id="test">
<% color =
((JasperFixture)pageContext.getAttribute("test")).getFixtureColor();
%>
<display:column property="fixtureName" href="fixture.jsp"
paramId="fixture"
property="fixtureName" sortable="true" headerClass="sortable" style="width:20%"
title="FIXTURES"/>
<display:column property="fixtureStatus" sortable="true"
headerClass="sortable"
title="STATUS"/>
<display:column property="fixturePos"
style="background-color:<%= color%>"
sortable="true" headerClass="sortable" title="POS"/>
<display:column><%= color%></display:column>
</display:table>
Now, in the last column I see the value of String 'color' like white, blue,
ecc... but in a column where title is "POS" the value of String 'color' seem
ignored. WHY????
______________________________________________________________________
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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user