[Seaside] Plotkit and Ajax

Sebastian Heidbrink sebastian_heidbrink at yahoo.de
Tue Nov 4 18:04:46 UTC 2008


Hi Karsten,

I had the same problem....
Have a look at plotr.

They solved the problem rendering an empty chart an updating the content 
via the updater:

renderContentOn: html

    html render: lineChart.
   
    html script: (html updater
            id: lineChart ajaxId; 
            every: 3 second;
            on: #renderChartOn: of: self)   


renderChartOn: html

     html script: lineChart ajaxUpdate


I used Seaside-Async before and as a result of this the rendering gets a 
lot faster, because the rendering data isn't shown in the html source.
And flickering of the whole page exists any more, because just the chart 
is redrawn...

Good Luck!
Sebastian

		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



More information about the seaside mailing list