• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using WOHyperlink, Redirect to Normal HTML Page
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using WOHyperlink, Redirect to Normal HTML Page


  • Subject: Re: Using WOHyperlink, Redirect to Normal HTML Page
  • From: David LeBer <email@hidden>
  • Date: Thu, 4 Feb 2010 08:09:57 -0500

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Using WOHyperlink, Redirect to Normal HTML Page (From: Sreenivasulu A <email@hidden>)

  • Prev by Date: Using WOHyperlink, Redirect to Normal HTML Page
  • Next by Date: Re: Using WOHyperlink, Redirect to Normal HTML Page
  • Previous by thread: Using WOHyperlink, Redirect to Normal HTML Page
  • Next by thread: Re: Using WOHyperlink, Redirect to Normal HTML Page
  • Index(es):
    • Date
    • Thread