[Seaside] ajax html callback

Johan Brichau johan at inceptive.be
Wed Apr 27 20:41:00 UTC 2011

On 27 Apr 2011, at 22:25, Milan Mimica wrote:

> Is there an easy fix to this, other than moving the rendering of the div tag to the outer level?

How much easier do you want it to be? That sounds like the most reasonable approach (I'm applying that pattern *a lot*).
An alternative approach is to use the replace of jQuery in an ajax script callback:

(html jQuery ajax) script: [:s | s << ((s jQuery id: id) replaceWith: [:r | self renderDivOn: r])]


More information about the seaside mailing list