You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joel Trunick <Jo...@SmartPrice.com> on 2003/08/08 21:24:42 UTC

RE: Practically Static Tapestry Pages (SKINNING)


Its not too hard to skin. We have it done. Just change
the getLocale() method to return a Locale that reflects
your branding/skinning. Its a cheat, but it works.

I wish Tapestry would just have a getSkin() method that
returns a String, this could be added to the locale
searching routine. You could probably add it to the
Tapestry source. I just haven't gotten around to it.

Joel



-----Original Message-----
From: psynix@t-online.de [mailto:psynix@t-online.de]
Sent: Thursday, August 07, 2003 5:06 PM
To: Tapestry users
Subject: Re: Practically Static Tapestry Pages


Skinning is something that I'm dearly wanting a solution to - I've made
a very embarrassing public attempt at trying to implement skinning (a
few days ago), and failed miserably - I think it may be possible with
3.1, but I'm not sure.

Anyway, just some thoughts. Best of luck.

  - John

RE: Practically Static Tapestry Pages (SKINNING)

Posted by John Meredith <ps...@t-online.de>.
Sorry. I missed your post.

On Fri, 2003-08-08 at 21:24, Joel Trunick wrote:
> Its not too hard to skin. We have it done. Just change
> the getLocale() method to return a Locale that reflects
> your branding/skinning. Its a cheat, but it works.

I hadn't thought of that - it's an imaginative hack. The problem being I
need the locale as well :-(

> I wish Tapestry would just have a getSkin() method that
> returns a String, this could be added to the locale
> searching routine. You could probably add it to the
> Tapestry source. I just haven't gotten around to it.

Agreed ... When I get a little more time I'll have another look at it,
trying not to make a fool of myself at the same time.

All the best,

  John

-- 
John Meredith <ps...@t-online.de>