[Seaside] Navigate to component via anchor?

Boris Popov boris at deepcovelabs.com
Wed May 24 22:41:24 UTC 2006


Okay, I figured call isn't the right thing to do because the call'ed
component will retain control until it answers. Fair enough. Now I'm back to
the idea of setting the 'menu' variable on the 'component' so that
components could ask the menu to do the navigation for them. Ouch! Somebody
tell me there's a better way to do this, its not immediately obvious to me
what to do here...

Thanks!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Boris Popov
Sent: Wednesday, May 24, 2006 2:59 PM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: [Seaside] Navigate to component via anchor?

I finally got around to building a simple navigation that I was thinking of
yesterday,

|-------------------|
|     Header        |
|-------------------|
|                   |
|          |-------||
| Home     | .0.0. ||
| Register | ..0.. ||
| Login    | .0.0. ||
| FAQ      | ..0.. ||
|          |-------||
|                   |
|----------|--------|

Everything works as expected, but I'm having trouble rendering links inside
of main canvas that navigate somewhere else. Say 'Home' is selected by
default displaying WelcomePage component in the main area. Inside the
WelcomePage I want to render a link to LoginPage component, but if I do it
via "html anchor callback: [self call: LoginPage new]" it works and shows me
the login page, but now whenever I click on 'Home' in the menu, I see a
login component, not a welcome page. Its hard being newb ;)

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060524/4a9cfe27/smime.bin


More information about the Seaside mailing list