On 2010-02-04, at 5:27 AM, Sreenivasulu A wrote:
> Hi All,
>
> Using WOHyperlink how to redirect to a normal HTML Page in WebObjects? Will
> it work for redirecting to Normal HTML Page? If it is possible, please give
> me one example to redirect to a normal HTML page.
> I want to redirect to normal html page when I click on Logout button, and
> from this normal html page I will redirect to "www.google.com".
WORedirect?
<wo:link action="performRedirect">Go now</wo>
...
public WOActionResults performRedirect() {
WORedirect redirect = new WORedirect(context());
redirect.setUrl(THE_URL);
return redirect;
}
/* Typed directly into email not tested your milage may vary not valid where
prohibited by law */
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]