[Seaside] Re: AW: Re: automatic local link

Boris Popov, DeepCove Labs boris at deepcovelabs.com
Wed Mar 2 17:13:57 UTC 2011

This is suboptimal, because agents w/o JavaScript will simply ignore the
redirect. Instead, try:

(html anchor)
 callback: [self requestContext redirectTo: 'http://google.com'];
 with: 'Go to google.com'.


initialRequest: aRequest
 self googleIsBetter ifTrue: [^self requestContext redirectTo:

Hope this helps,


-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Fritz
Sent: Wednesday, March 02, 2011 12:07 AM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] Re: AW: Re: automatic local link

I included the method #script which I override to specify that
'window.location' be set to an url to whcih you want to redirect. The
redirection occurs at the client when the javascript code is executed at
the client.

seaside mailing list
seaside at lists.squeakfoundation.org

More information about the seaside mailing list