So, i was doing the right thing essentially, and I only need a task to manage login in and stuff.<br>Thats good news ;)<br><br>yay, thank you!!<br><br><div class="gmail_quote">On Fri, Apr 25, 2008 at 3:15 PM, Roger Ostrander &lt;<a href="mailto:atiaxi@gmail.com">atiaxi@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
 &nbsp;The way I&#39;ve approached this is similar to your idea: &nbsp;There&#39;s a<br>
&quot;menu component&quot; whose job it is to render the header, the footer,<br>
itself, and then whatever the active component is. &nbsp;I tend to store<br>
the active component in the menu component itself, but that has the<br>
problem that, unless you pass the menu component around, it&#39;s the only<br>
thing that can transition between pages (this hasn&#39;t been a problem<br>
for me).<br>
<br>
 &nbsp;Tasks fill a different niche altogether. &nbsp;They&#39;re used when you want<br>
a sequential list of things to happen. &nbsp;So say before people see the<br>
menu component at all, they need to log in. &nbsp;Your task would look<br>
something like:<br>
<br>
do<br>
 &nbsp; &nbsp;[self session loggedIn ] whileFalse: [ self call: self loginComponent ].<br>
 &nbsp; &nbsp;self call: self menuComponent.<br>
<br>
 &nbsp;Hope this helps!<br>
<div class="Ih2E3d"><br>
On Fri, Apr 25, 2008 at 4:45 PM, David Zmick &lt;<a href="mailto:dz0004455@gmail.com">dz0004455@gmail.com</a>&gt; wrote:<br>
&gt; So, I have a website, and I would like it to have multiple pages, eg. an<br>
&gt; about page, a members page, etc. &nbsp;I think you know what I mean. &nbsp;I have<br>
&gt; currently accomplished this by creating a variable in my session class<br>
&gt; called content and the root component renders different content depending on<br>
&gt; what the content variable stores.<br>
&gt; &nbsp;This approach appears to have these advantages:<br>
&gt;<br>
&gt; I can have a header and footer that remains constant no matter what page the<br>
&gt; user is on<br>
&gt; It is very simple<br>
</div>&gt; not much elseI do not entirely understand the idea of a root task but I have<br>
<div class="Ih2E3d">&gt; a feeling that that is the way I should go about completing this.<br>
&gt; &nbsp;What is the &quot;proper&quot; way to accomplish my goal, preferably, I would like to<br>
&gt; be able to do the same things I can now, but do it &quot;correctly&quot; :)<br>
&gt;<br>
&gt; --<br>
&gt; David Zmick<br>
&gt; /dz0004455\<br>
&gt; <a href="http://dz0004455.googlepages.com" target="_blank">http://dz0004455.googlepages.com</a><br>
&gt; &nbsp;<a href="http://dz0004455.blogspot.com" target="_blank">http://dz0004455.blogspot.com</a><br>
&gt;<br>
</div>&gt; _______________________________________________<br>
&gt; &nbsp;seaside mailing list<br>
&gt; &nbsp;<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; &nbsp;<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Roger<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>David Zmick<br>/dz0004455\<br><a href="http://dz0004455.googlepages.com">http://dz0004455.googlepages.com</a><br><a href="http://dz0004455.blogspot.com">http://dz0004455.blogspot.com</a>