title: auto refresh a div using JSF
body: <p>How to automatically refresh a div every 5 seconds using JSF. I have a div with id = statusBlock, I want the status and comments inside it to get updated automatically every 5 seconds so that user automatically gets all the status updates without refreshing the whole page. I have searched the stackoverflow site but couldn't find anything that would let me do it using JSF.</p>