• 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: Switching the Main component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Switching the Main component (From: James Cicenia <email@hidden>)
 >Re: Switching the Main component (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Switching the Main component
  • Next by Date: Re: Switching the Main component
  • Previous by thread: Re: Switching the Main component
  • Next by thread: Re: Switching the Main component
  • Index(es):
    • Date
    • Thread