We have few jobs running in unix box. On the web page, we would like to show a "green" icon if the job is running or a "red" icon if the job is shutdown.
We have a program that returns "1" if the programs is running and "0" if the program is down.
Please advise if we can use rich:effect can be used to accomplish it? Like, we call a backing bean that returns 1 or 0 and depending on the 1 or 0 , we should display red/green icon.
If rich:effect is not the best option, please advise how it can be implemented?
please explore a4j:support or rich:progressBar examples.