I would go with a hidden command button or command link and then use window.setTimeout();. You could trap key press and mouse movements at the document level too if you wanted to delay the refresh if the user is actively doing something on the page. It may be even a better user interface if AJAX was used so that the page stays mostly intact. I haven't heard of any existing control though.

On 7/26/06, Julian Ray <[EMAIL PROTECTED]> wrote:
Has anyone managed to get a JSF page to automatically refresh. Using meta tags is out because the URL lags behind the actual view in the browser so it refreshes the previous view.
 
I would think that you could add a timer and refresh current view using _javascript_ and a hidden submit button attached to a backing bean action but before I start to do this I wanted to check to see if anyone has already done it (perhaps more elegantly) and could share code. It would actually make a cool Tomahawk component if it could be encapsulated in a custom tag.
 
Julian

Reply via email to