Okay thanks, never heard of it but. I will take a look at it!

Well at the moment I did a quick hack:

<script type="text/javascript">
  var nonsense;
  function doTimer(intervall) {
    nonsense = setInterval(refreshScreen,intervall*1000);
  }
  function refreshScreen (){
    document.all['myButtonId'].click();
  }
</script>

<body onLoad="doTimer(60);">

<h:commandButton id="RefreshButton" onclick="submit()" value="Refresh"
styleClass="button"/>



________________________________________
From: Ricardo Tercero Lozano [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 16. Juni 2006 14:07
To: MyFaces Discussion
Subject: Re: Autorefreshing a jsf page or parts of it

I've used AjaxAnywhere for refreshing parts of a page. The sample app
has a polling example.


On 6/16/06, Remo Liechti < [EMAIL PROTECTED]> wrote:
Hi

I need to auto refresh a jsf site every n seconds. There is a meta
command for this, but since we are using spring webflow, those meta tags
do not work. 

Is there any possibility to auto refresh a jsf site, or even a jsf
component? I just have to update an image every n seconds, the image url
stays the same.

Thanks

Remo


--
Remo Liechti
Application Developer
Swisslog Warehouse and Distribution Solutions

Direct: +41 (0)62 837 4345
Mobile: +41 (0)76 329 8660
CH Fax: +41 (0)62 837 4197
Internet: www.swisslog.com 
----------------------------------------------------------------
About Swisslog
Swisslog is a global provider of logistic solutions for warehouses,
distribution centers and hospitals.Swisslog's solutions increase their
customers' flexibility, responsiveness, and quality of service, while
minimizing logistics costs. 


Reply via email to