Re: changing application behaviour according to domain name
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