[Seaside] action method cause independent redirect
Avi Bryant
avi at beta4.com
Sat Mar 29 22:54:54 CET 2003
On Sat, 29 Mar 2003, Nevin Pratt wrote:
> process: request
> ^ request redirectTo: 'http://www.anywhere.com/somepath'
>
> And in reality, this is what I really want to do from the action method
> of the button for a Seaside component-- redirect the request to a secure
> port of an arbitrary web URL via an 'https' redirect.
>
> How do I do that?
This should do the trick:
someActionMethod
session returnResponse:
(WARedirectResponse location: 'http://www.anywhere.com/somepath')
Avi
More information about the Seaside
mailing list