[Seaside] Menu component - communicating with root component
Edward Stow
ed.stow at gmail.com
Sat Apr 19 07:09:40 UTC 2008
Hi,
Sorry if these questions seem very simple -- but I wanted to check
that my overall architecture was ok.
I have an application that has a RootComponent and several sub
components that can be selected by actions in the MenuComponent.
RootComponent
MenuComponent
Body1Component
Body2Component
.. etc ...
The menu component in the anchor callbacks sends #triggerEvent: to
notify the Root of the menu selection.
The Root then renders the selected Body component.
Is this a reasonable Seaside-way of structuring the application. I
know that Pier has the sidebar menus ... but Pier is difficult for me
to follow due to the highly abstracted nature of the application.
Thanks
--
Edward Stow
More information about the seaside
mailing list