• 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: Main Redirect Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main Redirect Question


  • Subject: Re: Main Redirect Question
  • From: Mark Morris <email@hidden>
  • Date: Tue, 24 May 2005 15:48:17 -0500

Hello! You could certainly just do this in WOApplication's pageWithName(), instead of a WORedirect. FIrst check if they're not trying to get to Main, and return super(), to not add too much overhead to the rest of the app, then do your checks and return the appropriate page. (You have access to session info via the context that's passed as an argument to pageWithName.)

Regards,
Mark

On May 24, 2005, at 3:42 PM, Brad Lees wrote:

I am trying to create an application that when you go to the main component, it can redirect you to another component based on certain criteria. I am assuming I need to use a woredirect, but I am not sure how to take a component and turn it into a url to use the woredirect. I tried calling a function that returns the component that I want, but it does not go to the other page.

Thanks

Brad Lees

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden

_______________________________________________ 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: 
 >Main Redirect Question (From: Brad Lees <email@hidden>)

  • Prev by Date: Main Redirect Question
  • Next by Date: Webobjects, Tiger and xcode2
  • Previous by thread: Main Redirect Question
  • Next by thread: RE: Main Redirect Question
  • Index(es):
    • Date
    • Thread