Re: CSS for all pages

2011-09-30 Thread Steve Eynon
>> From: Steve Eynon [mailto:steve.ey...@alienfactory.co.uk] >> Sent: Mittwoch, 28. September 2011 19:53 >> To: Tapestry users >> Subject: Re: CSS for all pages >> >> Ah, cheers Thiago! >> >> I think Wulf was saying the CSS was part of a separate mod

Re: CSS for all pages

2011-09-28 Thread Olaf Tomczak
a lot :) > > > -Original Message- > From: Steve Eynon [mailto:steve.ey...@alienfactory.co.uk] > Sent: Mittwoch, 28. September 2011 19:53 > To: Tapestry users > Subject: Re: CSS for all pages > > Ah, cheers Thiago! > > I think Wulf was saying the CSS was part of a separate

RE: CSS for all pages

2011-09-28 Thread Wechsung, Wulf
Exactly, Steve! You solution is great! Thanks a lot :) -Original Message- From: Steve Eynon [mailto:steve.ey...@alienfactory.co.uk] Sent: Mittwoch, 28. September 2011 19:53 To: Tapestry users Subject: Re: CSS for all pages Ah, cheers Thiago! I think Wulf was saying the CSS was part of

Re: CSS for all pages

2011-09-28 Thread Steve Eynon
Paula Figueiredo Date: 29 September 2011 01:27 Subject: Re: CSS for all pages To: Steve Eynon Awesome use of a component class transformation and a mixin, Steve! :) Wulf, I'd say almost all Tapestry projects have a Layout component used in all pages, so @Import'ing your CSS or JavaScr

Re: CSS for all pages

2011-09-28 Thread Steve Eynon
There may be an easier way, but you could have a worker to add a Mixin / Component to each page which has no markup, but @Import's your CSS. In T5.3 it's : public class EmbedCssMixinInEveryPageWorker implements ComponentClassTransformWorker2 { public void transform(PlasticClass plasticCla