• 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: changing application behaviour according to domain name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing application behaviour according to domain name


  • Subject: Re: changing application behaviour according to domain name
  • From: email@hidden
  • Date: Fri, 1 Jul 2005 08:07:26 +1200

Hello;

It's very possible to get the inbound hostname from the WORequest. In one project where there are a multitude of possible "appearances", I have created my own "XXXAppearanceImage" component. This one will modify which image it uses based on the situation it finds itself with respect to the inbound host on the WORequest. I have taken the same approach for CSS inclusion and so on.

cheers.

I'm looking for a good way to deplay one application for several domain names and change the behaviour as needed (dynamically load different stylesheets, load special content from the db, show different components, links and so on).

___ Andrew Lindesay www.lindesay.co.nz +64-21-47-0929


_______________________________________________ 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
  • Prev by Date: Managing huge project
  • Next by Date: Re: WOImage: Load Any image with certain prefix...
  • Previous by thread: Re: changing application behaviour according to domain name
  • Next by thread: wolips wiki
  • Index(es):
    • Date
    • Thread