How to Design a Webpage with Leftbar and Content Components

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to Design a Webpage with Leftbar and Content Components

Robert Schwarz-2
Hello,
first of all let me say I'm a newbie in Smalltalk/Seaside. So sorry  
if someone has ask a similar question in the past.

I would like to have a simple web page with header, footer, left bar  
and a content control in the middle. What is the best way to realize  
that?
For me it's unclear how is collaboration the left bar with the  
content control.
Thanks,
Robert
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to Design a Webpage with Leftbar and Content Components

Rajeev Lochan
Similar question was asked and answered.

Check out the following mail and follow it up


http://lists.squeakfoundation.org/pipermail/seaside/2007-June/012593.html



On 7/9/07, Robert Schwarz <[hidden email]> wrote:
Hello,
first of all let me say I'm a newbie in Smalltalk/Seaside. So sorry
if someone has ask a similar question in the past.

I would like to have a simple web page with header, footer, left bar
and a content control in the middle. What is the best way to realize
that?
For me it's unclear how is collaboration the left bar with the
content control.
Thanks,
Robert
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



--
Rajeev Lochan

Co-founder, AR-CAD.com

http://www.ar-cad.com
+91 9243468076 (Bangalore)
080 65355873
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to Design a Webpage with Leftbar and Content Components

Robert Schwarz-2
Thank you for the link Rajeev. It's interesting but it's not exactly the information what I am looking for.

Here are more details:
At the moment I have a class, I called it "RSMain", with instance variables for header, footer, leftBar and content.
In the initialize method I instantiate the components
RSMain>>initialize
header := RSHeader new
footer := RSFooter new
... and so on.

In the renderContentOn method I use these components
RSMain>>renderContentOn: html
(html div)
class: 'header';
with: [html render: header].
... so far so good

But how can I realize a leftbar with (dynamic) hyperlinks that load/display the corresponding component in the content control when I'm clicking on the links?
In a traditional web page I would use Frames or IFrames.
Robert

Am 09.07.2007 um 20:58 schrieb Rajeev Lochan:

Similar question was asked and answered.

Check out the following mail and follow it up


http://lists.squeakfoundation.org/pipermail/seaside/2007-June/012593.html



On 7/9/07, Robert Schwarz <[hidden email]> wrote:
Hello,
first of all let me say I'm a newbie in Smalltalk/Seaside. So sorry
if someone has ask a similar question in the past.

I would like to have a simple web page with header, footer, left bar
and a content control in the middle. What is the best way to realize
that?
For me it's unclear how is collaboration the left bar with the
content control.
Thanks,
Robert
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



--
Rajeev Lochan

Co-founder, AR-CAD.com

http://www.ar-cad.com
+91 9243468076 (Bangalore)
080 65355873
_______________________________________________
Seaside mailing list


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside