This content has been marked as final.
Show 1 reply
-
1. Re: Giving style to a column in Richfaces Datatable based on value in each cell
healeyb Oct 16, 2011 7:06 PM (in response to stuffedfaces)Hi, my attention was attracted by your topic heading - think about it. Forget about columns, you are
trying to style the contents of cells. I think you are looking for a structure like this:
<rich:column>
<h:panelGroup layout="block"
style="#{var.someProperty == true ? 'border: 2px solid red' : ' ' }">
<h:outputText value="some content"/>
</h:panelGroup>
</rich:column>
I hope it works.
Spock