Hello,

I'm attempting to set it up so that each row of my table will have a
different background color based on the priority of that row.

My current code looks like this:

<% java.util.ArrayList alist = ( java.util.ArrayList)rBean.getReqList();
   request.setAttribute("alist", alist);
%>

<display:table name="raltable" id="table" width="100%" border="1"
name="alist2" scope="request" align="left"
requestURI="/requisition/requisition_list.jsf">
   <display:column property="priority" title="Priority" sortable="true"
class="tdborder"/>
   <display:column property="createdBy" title="Started By" sortable="true"
class="tdborder"/>
   <display:column property="spPosition" title="Position" sortable="true"
class="tdborder"/>
</display:table>

and in my CSS file i have a tdboarderred to set it to red for a high
priority item, where the priority is an int.

I saw the example that shows something similar to what I'm looking for,
however I could not seem to get that to work.

Thanks,

Chris Long
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to