[Seaside] Re: Automating ajax component updates
itsme213 at hotmail.com
Tue Jan 1 21:37:30 UTC 2008
"Lukas Renggli" <renggli at gmail.com> wrote in message
>> A. Where #2 should build up the batch. Seems like a Page object would be
>> ideal. Is such a thing accesible (root of the component tree)?
> You are talking about announcements, but it doesn't look like you use
> the announcements framework.
I am using the version from your repository. Where would you recommend I
accumulate the changed components until they get re-rendered?
>> html evaluator callback: [ :s |
>> batchedItems do: [ :changedComponent |
>> s element id: changedComponent id; update: ??? ]]
>> What should the "???" look like? I don't think I have a canvas to render
>> at this point.
> ??? can be anything renderable: a string, a component, a block, ...
Wonderful, thank you.
Does the approach above seem reasonable?
More information about the seaside