[Seaside] Navigate to component via anchor?

Boris Popov boris at deepcovelabs.com
Wed May 24 23:27:57 UTC 2006

Thanks, Avi, saving it on the session may actually work nicer as I really
don't like carrying the same thing around.



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

boris at deepcovelabs.com


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

Thank you.

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

On May 24, 2006, at 4:13 PM, Boris Popov wrote:

> Right, except that in my case #call would retain control, not merely
> navigate away to the new component. I changed it to go through the  
> parent
> menu,
> self anchor
> 	callback: [self menu selectComponent: ContactPage];
> 	with: [html text: 'Contact Us'].
> Ugly, but it works. I'm all ears to hear better suggestions.

That seems reasonable to me.  Depending on what you find uglier, you  
could store the menu in the session (effectively make it a global)  
rather than on every component...

Note that the combination of #with: and #text: can always be  

self anchor
          callback: [self menu selectComponent: ContactPage];
          with: 'Contact Us'

Seaside mailing list
Seaside at lists.squeakfoundation.org
-------------- 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/3baccf04/smime.bin

More information about the Seaside mailing list