<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm from Argentina and I am working on a Seaside
project. I don't speak English very well, so I hope you
understand...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need to recreate an old site using Seaside, and I
and I'm having problems with the structure of the site.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My page has a header, menu, and a footer (which are
repeated throughout the site) and a body that changes for each page of the site,
<BR>depending on the option chosen on the menu.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>CSRootComponent>>renderContentOn:
html<BR> html
div<BR> id:'allContent';<BR> with:[<BR> html
render: header.<BR> html render:
menu.<BR> self renderBodyOn: html.<BR> html
render: footer.<BR> ]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>---------------------------------------------------------------------------------------------<BR></FONT><FONT
face="Times New Roman" size=2><SPAN class=Apple-style-span
style="WORD-SPACING: 0px; FONT: 16px -webkit-monospace; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0"></SPAN></FONT><FONT
face=Arial size=2>The component menu, displays a horizontal menu with links to
different pages on the site.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>CSMenuComponent>>renderContentOn:
html<BR> html div<BR> id: 'menu';<BR> with:
[<BR> html unorderedList:
[<BR> self renderMenuItemsOn:
html.<BR>
].<BR> ].<BR>---------------------------------------------------------------------------------------------<BR>CSMenuComponent>>renderMenuItemsOn:
html</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> menuItems do: [:item |<BR> html
listItem with: [<BR> html anchor
<BR> callback: item
value;<BR> with: item
key.<BR> ].<BR> ]</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------------------------------------------------------------<BR>CSMenuComponent>>initialize<BR> <BR> super
initialize.<BR> menuItems := OrderedCollection new.<BR> self
addMenuItem: 'Company Info' withBlock: [ self companyInfo].<BR> self
addMenuItem: 'Products' withBlock: [ self products ].<BR> self addMenuItem:
'Downloads' withBlock: [ self downloads ].<BR> self addMenuItem:
'Resources' withBlock: [ self resources ].<BR> self addMenuItem: 'Support'
withBlock: [ self support ].<BR> self addMenuItem: 'Contact Us' withBlock:
[ self contactUs ].</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>where each of the links should display a new page
with the same structure as before, but with a different body.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It is right to create a component for each link ?
For example, CSCompanyInfoComponent for companyInfo link.<BR>How I call that
component, from CSMenuComponent>>companyInfo method, to render in a new
page??<BR>I am confused by the fact that I don't have a renderCanvas to speak in
that context.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sebastian<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sebastian Van Lacke | Developer | caesar
systems | see clearly. decide smarter.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:svanlacke@caesarsystems.com">svanlacke@caesarsystems.com</A>
| t: +1.281.598.8790 | t: +54.11.4389.0126 | <A
href="http://www.caesarsystems.com">www.caesarsystems.com</A> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>This message and any attached documents contain
information from Caesar Systems LLC that may be confidential/trade secret and/or
privileged. If you are not the intended recipient, you may not read, copy,
distribute or use this information. If you have received this transmission
in error, please notify the sender immediately by telephone or by reply e-mail
and then delete this message.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV></BODY></HTML>