Re: How to get current page class inside Layout?

2009-02-20 Thread superoverdrive
Ok, thanks! Original-Nachricht > Datum: Fri, 20 Feb 2009 14:18:22 -0300 > Von: "Thiago H. de Paula Figueiredo" > An: "Tapestry users" > Betreff: Re: How to get current page class inside Layout? > Em Fri, 20 Feb 2009 13:59:43 -0300, escreve

Re: How to get current page class inside Layout?

2009-02-20 Thread Thiago H. de Paula Figueiredo
Em Fri, 20 Feb 2009 13:59:43 -0300, escreveu: How can you find out what page is currently being used inside of the Layout class ? @Inject private ComponentResources resources; Object page = resources.getPage(); -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, a

How to get current page class inside Layout?

2009-02-20 Thread superoverdrive
How can you find out what page is currently being used inside of the Layout class ? I need to include additional files in the header on specific pages...but I only want to use a single layout class. http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> // some additional css files here for t