[Seaside] ajax html callback
milan.mimica at gmail.com
Mon May 2 14:41:27 UTC 2011
On 2 May 2011 16:10, Johan Brichau <johan at inceptive.be> wrote:
> You don't need to. The easiest solution is to use a script callback that does a jQuery>>replaceWith: (see my previous response)
I saw that. Not a nice solution either, you'll probably agree.
> But what is not nice about the following?
> renderContentOn: html
> html div
> id: #basket;
> with: [ self renderBasketContentsOn: html].
> and have somewhere: (html jQuery id: #basket) load html: [:r | self renderBasketContentsOn: r]
> imho, this only splits up the rendering methods in conceptual parts
Okay, it just something that I'll have to get used to.
More information about the seaside