[Seaside] embedding components questions

Alexandre Paes alex.paes at streetdogstudio.com
Wed Nov 28 00:56:59 UTC 2007

Hi fellow seasider's,

My first production application developed in seaside is almost ready,
but even now i'm still fighting about how to correctly embed components
in each other. For instance in the following scheme:

Presenter A
        ----- Presenter B (Header)
        ----- Presenter C (Main application content)
        |           |
        |           ------ Presenter D (rendered inside Presenter C
render routine)
        ----- Presenter E (Footer)

How can i go about having Presenter C or even Presenter A react to
events in Presenter D? i've been trying to use #onAnswer: but i must
admit all has been in vain so far.

Another question i have is about differences between #children and
#states methods in WAComponent. I've read on some post that #states
behaves like the old #registerObjectForBacktracking but since i have
never used this one either i'm having quite a hard time figuring this

Thanks in advance for all your help.

Alex Paes

More information about the seaside mailing list