Re: Switching the Main component
Re: Switching the Main component
- Subject: Re: Switching the Main component
- From: James Cicenia <email@hidden>
- Date: Tue, 28 Feb 2006 17:01:49 -0600
It would be a different domain: app1.xxx.com vs. app2.xxx.com which
of course redirects to the webobjects instance. I don't want to
manage two code bases, can't use Wirehose here, and was wondering
where I what domain they came from before I change the main page, or
better yet, do some preprocessing before displaying the main component.
On Feb 28, 2006, at 3:59 PM, Chuck Hill wrote:
Well, that depends on how the URL is different. If it is a
different direct action, just use a different name in pageWithName
in the direct action method. If the URL differs by a parameter,
look at the parameter and, uh, just use a different name in
pageWithName. Or am I missing part of your problem?
Chuck
On Feb 28, 2006, at 1:56 PM, James Cicenia wrote:
Hello --
What is the easiest way to swap the Main component based upon the
incoming URL?
thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Coming in 2006 - an introduction to web applications using
WebObjects and Xcode http://www.global-village.net/wointro
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
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