Site with multiple skins

"Steve G" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hi all,

I am evaluating tapestry for an upcoming project. Basically I'd like to have 
one site but reskin the site based on the type of user logging in. For 
example, say I have 3 types of users: A1, A2, and A3. A1 and A2 share a 
similar template except for different styles sheet and images. A3 has a 
completely different look and feel. That means the components are the same 
just totally rearranged.

I was reading through the docs on how tapestry handles localization with 
template. I was thinking I could be something like that with the scenarios 
above. So, if a user logs into the site and is of type A1 and A2 the 
template Border.html (default) would be used for the layout. If the user 
were of type A2 the Border_A2.html template would be used because it is 
based on a different template. All would use the same Border.jwc 
specification

Is it possible for me to do something like this? If so, how difficult would 
it be? Any other suggestions on how I could do this?

thanks
steve


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.