[Seaside] Dynamically updating a WEB page

Roland Hochmuth rhochmuth at comcast.net
Wed Mar 15 16:02:00 UTC 2006


Hi, Does Seaside have any provisions for dynamically updating a WEB  
page without the user initiating a callback action? For example, if  
the WEB page is just displaying a clock that was suppose to  
automatically update every minute how can it be updated without a  
user action? What I've done so far is create a callback action  
attached to the image of the clock. If the user clicks on the image  
the callback just invokes #answer which returns to the  
ClockController, which is a WATask. ClockController then just creates  
a new ClockDisplay, which is a WAComponent, and  then invokes #call  
on it. What I would like to do is have the ClockController  
periodically invoke a method "update" in ClockDisplay which would  
force a new WEB page being displayed for the user. Is this where I  
need to write javascript?

Regards --Roland


More information about the Seaside mailing list