[Seaside] Re: session variable vs. dynamic variable

itsme213 itsme213 at hotmail.com
Fri Feb 8 16:52:01 UTC 2008


"Ramon Leon" <ramon.leon at allresnet.com> wrote

> Use announcements instead, break the coupling.

I'd like to use announcements, but am not clear about two points:

I have a root component (R), and a n-level deep leaf component (L). A 
callback on L needs to cause something like:
    html updater
      id: R id;
      callback: [:r |
        self doModelStuff.
        r render: R]
How would you recommend getting this effect with announcements?

Also, would requiring a custom session subclass to hold the announcer make 
it hard to use my component elsewhere?

Thanks!

Sophie 





More information about the seaside mailing list