You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Phillip Grenier <pg...@ststravel.com> on 2007/03/30 17:56:22 UTC

Page Seperation\Folders

    I am very new to tapestry and since is seems 5 is going to be very
different from 4 i am try to learn using T5. Is there a way to define a
head/footer/list whatever in a seperate html file and "include" it in a
page similar to other page includes. It also looks like every page has
to be located directly in the web-inf folder, Is this true. I built the
project using mvn and the 5.0.3 release. Where would you store images,
.css type files? How to reference them once they are there? I know this
should be easy stuff to do, if there is another tutorial other then the
one on the main site for alot of this stuff would be appriated.
 
Thank You,
 
- Phillip 

Re: Page Seperation\Folders

Posted by Anjana Gopinath <an...@truenorth1.com>.
You can store the images, css file etc src/main/webapp directory.

you can refer the css like this

<link href="css/nsGeneral.css" rel="stylesheet" type="text/css" />

and for images

images/mainBod.jpg . i have images in my src/main/webapp/images dir  
and css in my src/main/webapp/css.



Anjana Gopinath
True North Technology
11465 John's Creek Parkway, Suite 300
Duluth, GA 30079
anjana@truenorth1.com





On Mar 30, 2007, at 11:56 AM, Phillip Grenier wrote:

>     I am very new to tapestry and since is seems 5 is going to be very
> different from 4 i am try to learn using T5. Is there a way to  
> define a
> head/footer/list whatever in a seperate html file and "include" it  
> in a
> page similar to other page includes. It also looks like every page has
> to be located directly in the web-inf folder, Is this true. I built  
> the
> project using mvn and the 5.0.3 release. Where would you store images,
> .css type files? How to reference them once they are there? I know  
> this
> should be easy stuff to do, if there is another tutorial other then  
> the
> one on the main site for alot of this stuff would be appriated.
>
> Thank You,
>
> - Phillip