[Seaside] Composing a menu+canvas layout

Boris Popov boris at deepcovelabs.com
Tue May 23 19:37:32 UTC 2006


Being a seaside newb that I am, was wondering if you could provide some
hints as to how I would go about composing a layout that has a menu pane on
the left and working canvas on the right. Composing is in terms of seaside
components, not actual CSS layout, of course. Something along the lines of,

|     Header       |
| Home     | .0.0. |
| Register | ..0.. |
| Login    | .0.0. |
| FAQ      | ..0.. |

At the moment I have a 'main' component with 3 #children: header, menu,
canvas. Questions,

1. Placing a link inside a canvas component with 'self call: OtherComponent
new' works just fine, the canvas is replaced with OtherComponent, how do I
do that from the left pane though? It seems weird having to talk to the
parent and ask it to replace the canvas component from the menu, but maybe
it just me?

2. If I navigate to Login component from within the canvas, how would I get
my menu to display the 'Login' with an emphasis on it being 'selected'?

It seems that tight coupling in unavoidable here, but I'm fishing for hints
and people's experiences with how they went about doing this type of thing.



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060523/7e7814e6/smime-0001.bin

More information about the Seaside mailing list