stuck in the tutorial..

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

stuck in the tutorial..

sergio t. ruiz

i am stuck on the tutorial..

i am here:

http://www.hpi.uni-potsdam.de/swa/seaside/tutorial?_k=JOUlYeKE&_s=HnxMstOOzMFNlEFy

let me know if that takes you back to the front of the tutorial.. i am  
on the components page...

this section:

  Of course, you want to see some results now, therefore we refactor  
StRootComponent>>#initialize to call self initializeMenuComponent  
instead of simply initializing themenuComponent instance variable.


i just can't figure out where to put this line:

self initializeMenuComponent

it seems like it should be in:

StMenuComponent>>#initialize, because that's where  
initializeMenuComponent is..

but that doesn't work..

if i put it in StRootComponent>>#initialize like so:

initialize
        super initialize.
        self
                menuComponent: StMenuComponent new;
                listComponent: StListComponent new.
        self initializeMenuComponent.


i  get this:

MessageNotUnderstood: StRootComponent>>initializeMenuComponent

which totally makes sense..

anyone have any ideas?

thanks!


___
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: stuck in the tutorial..

David Zmick
initializeMenuComponent is a seperate method you need to create that will "initialize" the menu component.  I think you are just adding the line at the bottom of you code, and the method doesn't exist.  At least, thats what the error says.  hope that helps :)

On Tue, Nov 4, 2008 at 6:11 PM, sergio <[hidden email]> wrote:

i am stuck on the tutorial..

i am here:

http://www.hpi.uni-potsdam.de/swa/seaside/tutorial?_k=JOUlYeKE&_s=HnxMstOOzMFNlEFy

let me know if that takes you back to the front of the tutorial.. i am on the components page...

this section:

 Of course, you want to see some results now, therefore we refactor StRootComponent>>#initialize to call self initializeMenuComponent instead of simply initializing themenuComponent instance variable.


i just can't figure out where to put this line:

self initializeMenuComponent

it seems like it should be in:

StMenuComponent>>#initialize, because that's where initializeMenuComponent is..

but that doesn't work..

if i put it in StRootComponent>>#initialize like so:

initialize
       super initialize.
       self
               menuComponent: StMenuComponent new;
               listComponent: StListComponent new.
       self initializeMenuComponent.


i  get this:

MessageNotUnderstood: StRootComponent>>initializeMenuComponent

which totally makes sense..

anyone have any ideas?

thanks!


___
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com



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



--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: stuck in the tutorial..

sergio t. ruiz

On Nov 3, 2008, at 10:17 PM, David Zmick wrote:

> initializeMenuComponent is a seperate method you need to create that  
> will "initialize" the menu component.  I think you are just adding  
> the line at the bottom of you code, and the method doesn't exist.  
> At least, thats what the error says.  hope that helps :)


my bad..

DANGIT..

rather than reading the text under the method that clearly states  
where it goes.. but i instead put the method where i THOUGHT it should  
go...

all is well now..

thanks!



___
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Seaside app freezes

Carl Gundel
Has anyone here had the experience that if they let their Seaside
application site for a while (half an hour or so, not enough for session
timeout in my case) and then went back to it and tried to use it, that it
would freeze up?  Clicking in the browser doesn't return, it just spins on
and on.  No exception seems to be thrown.

-Carl Gundel
http://www.libertybasic.com
http://www.runbasic.com 

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: stuck in the tutorial..

David Zmick
In reply to this post by sergio t. ruiz
no problem.  glad i could help :)

On Tue, Nov 4, 2008 at 9:46 PM, sergio <[hidden email]> wrote:

On Nov 3, 2008, at 10:17 PM, David Zmick wrote:

initializeMenuComponent is a seperate method you need to create that will "initialize" the menu component.  I think you are just adding the line at the bottom of you code, and the method doesn't exist.  At least, thats what the error says.  hope that helps :)


my bad..

DANGIT..

rather than reading the text under the method that clearly states where it goes.. but i instead put the method where i THOUGHT it should go...

all is well now..

thanks!



___
peace,
sergio
photographer, journalist, visionary
www.village-buzz.com



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



--
David Zmick
/dz0004455\
http://dz0004455.googlepages.com
http://dz0004455.blogspot.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Seaside app freezes

Sebastian Calvo
In reply to this post by Carl Gundel
Hi Carl:

Last week I had the same problem and was in a shared resource controlled
by a mutex.

Best Regards
Jose Sebastián Calvo

Carl Gundel escribió:
> Has anyone here had the experience that if they let their Seaside
> application site for a while (half an hour or so, not enough for session
> timeout in my case) and then went back to it and tried to use it, that
> it would freeze up?  Clicking in the browser doesn't return, it just
> spins on and on.  No exception seems to be thrown.
>
> -Carl Gundel
> http://www.libertybasic.com
> http://www.runbasic.com

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