You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mi...@ubsw.com on 2003/05/05 15:49:05 UTC

Switch Tile Layout by Domain?

I want to re-Brand my application. I don't know how else to do this, except by domain.
So..
Option 1. Use default layout for http://www.yoursos.com and use alternate1 layout for http://alternate1.yoursos.com

Option 2. Beg for an expert to help me understand what the best way to re-brand this application using tiles is...

-------------------------
Thank You 
Mick Knutson 
Sr. Designer - Project Trust 
aUBS AG, Financial - Zürich 
Office: +41 (0)1/234.42.75 
Internal: 48194 
Mobile: 079.726.14.26 
-------------------------



Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Switch Tile Layout by Domain?

Posted by Gemes Tibor <ti...@i-trade.hu>.
Mick.Knutson@ubsw.com írta:

>I want to re-Brand my application. I don't know how else to do this, except by domain.
>So..
>Option 1. Use default layout for http://www.yoursos.com and use alternate1 layout for http://alternate1.yoursos.com
>
>Option 2. Beg for an expert to help me understand what the best way to re-brand this application using tiles is...
>
My tiles-defs.xml has a mainLayout and all the displayed pages extend it.
If you store the preferred layout id in RDBMS or cookie, you can assing a
controllerClass or controllerUrl to the mainLayout definition which 
retrieves
the user preferred one.

Tib





---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org