Re: Site with multiple skins

"Steve G" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Thanks I'll look into creating a custom AssetService. That would take care 
of A1 and A2 because the content layout is the same. Any idea how I would 
take care of A3 where the content is the same but the layout is different?

steve





>From: "Geoff Longman" <[email protected]>
>To: "Steve G" 
><[email protected]>,<[email protected]>
>Subject: Re: [Tapestry-developer] Site with multiple skins
>Date: Tue, 17 Dec 2002 10:10:01 -0500
>
>I think that if all you need are custom stylesheets and images, ie the
>content layout is identical for all users, then a custom Asset Service 
>could
>construct the appropriate asset urls based on user type.
>
>Look at IAssetService
>
>Geoff
>
>
>----- Original Message -----
>From: "Steve G" <[email protected]>
>To: <[email protected]>
>Sent: Tuesday, December 17, 2002 9:53 AM
>Subject: [Tapestry-developer] Site with multiple skins
>
>
> > 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/
> > _______________________________________________
> > Tapestry-developer mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> >
>
>
>
>-------------------------------------------------------
>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/
>_______________________________________________
>Tapestry-developer mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/tapestry-developer


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



-------------------------------------------------------
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.