[Seaside] updating the contents of a div as a side effect of aliveCallback..

Ramon Leon ramon.leon at allresnet.com
Wed Jan 31 18:46:34 UTC 2007


> It seems to be that you're not able to do this directly care 
> of a message I saw from Michel a while back, but I can't find 
> it now.. and it also seems to be I saw code that did 
> something like this, but I'm having
>   a brain fart and can't seem to locate anything relevant..
> 
> Anyway, I've got div mixed in with other stuff on a page and 
> when a button is pressed I get a liveCallback block running.. 
> I was hoping that I could update the contents of the div at 
> that point but Seaside is complaining (likely because it's 
> not allowed)..  So, if this is not allowed in that manner, 
> I'm sure someone else has written code that does the same 
> sort of stuff -- how did you achieve it?  Or perhaps my code 
> is just naughty..
> 
> As usual-- many thanks in advance!

I'd help you out, but frankly I don't use SeasideAsync, I think
Scriptaculous is a much better and more composeable framework for doing this
sort of thing.  IMHO using SeasideAsync is like using the old renderer, a no
no.  You should consider switching.

Ramon Leon
http://onsmalltalk.com  



More information about the Seaside mailing list