[Seaside] jQuery callbacks with Announcements
watchlala at hotmail.com
Mon Jul 6 17:21:54 UTC 2009
I have a layout structure that looks roughly like this:
html render: self content. "MainPage new"
html render: self map. "Map new"
html render: self content. "Area new"
I also have an announcement on 'Map' that changes the content to, say, "Province new".
Hitting a link with a callback, ie.: "self session announce: (TOCAnnounceChangeMap on: TOCProvince new)" still renders the original initialized component ("Area new").
Am I correct in deducing that when the page is reloaded it creates a new instance of "Map" and therefore does not render what was saved in the 'content' variable? If so, can I use jQuery to do this with announcements? And, how would that look?
Lauren found her dream laptop. Find the PC that’s right for you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside