This content has been marked as final.
Show 2 replies
-
1. Rich:column Color depending on the value of the column
ilya_shaikovsky Apr 15, 2011 9:02 AM (in response to jobmathew)<rich:column styleClass=#{objectVar.someForExampleSeverity=='fatal'? red : 'green' }>
-
2. Rich:column Color depending on the value of the column
jobmathew Apr 29, 2011 9:57 AM (in response to jobmathew)Perfect thank you so much
have done it like this and working perfect
styleClass="#{record.flag=='red? 'bgRed': record.flag=='greed'? 'bgGreen': record.flag=='yellow'? 'bgYellow':'bgOrange' }"
<style>
.bgRed{background-color: red; }
.bgGreen{background-color: green; }
.bgYellow{background-color: yellow; }
.bgOrange{background-color: orange; }
</style>