[Seaside] [NEWBIES] How to set up a multi-page website

David Zmick dz0004455 at gmail.com
Fri Apr 25 22:26:38 UTC 2008


wow, this shouldn't be that hard to figure out, but, I can't seem to be able
to change the value of wantsLogin( the variable I am using, should be self
explanatory) from my prototype menu component, so, I can't get to the login
component, what am i doing?

MenuComponent>>renderConentOn: html
     html anchor callback: [self session wantsLogin: true]; with: [html
text: 'login']

RootTask>>go
    [ self session wantsLogin ]
        whileTrue: [Transcript show: 'wantsLogin = true'; cr. self call:
self loginComponent].
    Transcript show: 'wantsLogin = false'; cr. self call: self menuComponent


On Fri, Apr 25, 2008 at 3:57 PM, David Zmick <dz0004455 at gmail.com> wrote:

> yep, i got that, but thanks for clarifying
>
> On Fri, Apr 25, 2008 at 3:51 PM, Randal L. Schwartz <merlyn at stonehenge.com>
> wrote:
>
>> >>>>> "Roger" == Roger Ostrander <atiaxi at gmail.com> writes:
>>
>> Roger> do
>> Roger>     [self session loggedIn ] whileFalse: [ self call: self
>> loginComponent ].
>> Roger>     self call: self menuComponent.
>>
>> That's #go, not #do.
>>
>> --
>> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777
>> 0095
>> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
>> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
>> See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
>> training!
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
>
> --
> David Zmick
> /dz0004455\
> http://dz0004455.googlepages.com
> http://dz0004455.blogspot.com
>



-- 
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080425/373c3f73/attachment.htm


More information about the seaside mailing list