[Seaside] session variable vs. dynamic variable
vladimir at livesystems.ru
Fri Feb 8 18:23:20 UTC 2008
08.02.2008, в 7:58, itsme213 написал(а):
> I am using a session variable for my sub-component callbacks to gain
> to a root component (to trigger an ajax redraw). As Lukas had
> this couples my components to a session subclass and makes it harder
> reuse my components.
Your root component knows about children. And children knows about
root. Why not just connect them explicitly on component side, like:
child := WAMyChild new; root: self.
self doSomethingWith: self root.
More information about the seaside