[Seaside] How do i make a link in Seaside which do a redirect ?

Philippe Marschall philippe.marschall at gmail.com
Tue Nov 1 20:16:42 CET 2005

> I would like to create a link in renderContentOn: html
> which do 2 things:
> 1) self answer
> 2) redirect user to a static predefined URL

I haven't tried it, but the what I'd try ist:

    anchorWithCallback: [
        self answer.
        self session redirectTo: 'www.google.com' ]
    do: 'click me'

Why do you need an #answer and a redirect at the same time? Is the
user supposed to return after the redirect?

More information about the Seaside mailing list