[Seaside] How to Implement a Menu Component

Robert Schwarz r.schwarz at blackstream.at
Sat Jul 21 21:14:00 UTC 2007


Yes - but how can I replace a content component from the menu.

Please tell me if I made an error in reasoning.

My Seaside application have 3 components
1.) main component with two instance variables for menu and content  
and a children method (array with: menu with: content)
2.) menu subcomponent
3.) content subcomponent

But if the menu component makes a #call: to another component, than  
the new component will appear in place of the menu and not in place  
of the content component.
Is the content component a subcomponent of menu or main?
I'm a little bit confused
Robert

Am 21.07.2007 um 17:59 schrieb Richard Eng:

> If I understand your question correctly, you design your web page  
> with the
> appropriate separation of HTML and CSS, then use Seaside to  
> generate the
> HTML, configure the (Comanche) web server to serve the CSS files,  
> and do all
> your content stuff. The HTML defines the "menu" (as an unordered  
> list) and
> "content" (as a div), and the CSS make them look pretty, like you  
> would
> expect from a website.
>
> Regards,
> Richard
>
>
> On 7/21/07 10:55 AM, "Robert Schwarz" <r.schwarz at blackstream.at>  
> wrote:
>
>> Hi,
>> how can I implement a Seaside web application with a menu component
>> and a content component?
>>
>> Thanks
>> Robert
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list