I have jsf where in one of the data table displays among other values retrieved from a database query is 'status'. Currently this status column displays the value of either '1', '2' or '3'. I have 3 gif images of green, yellow and red. How can I represent these 1, 2 & 3s into corresponding green, yellow and red gif images?
Here's the part of the jsf page where status value is displayed -