Re: Main Redirect Question
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