You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by glanzel <gl...@gmx.de> on 2006/05/22 00:12:26 UTC

use the same template for several pages

hello,

i would like to use the same html template for 2 or more website.
is that possible ?

what i would like to to is having a template with the static header and 
static footer
and an dynamic content - like that:

<html><body>
<a href="www.hallo.de">hallo</a> ..... <!-- header -->
<span jwcid="content"/>
copyright by ..... <!-- footer -->
</body></html>

and then for differnet pages setting different tapestry componetens for 
jwcid=> content

greetings grischan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: use the same template for several pages

Posted by James Carman <ja...@carmanconsulting.com>.
Have you tried creating your own "Border" component which contains the
header/footer?  Then, you can just use that component on any page you
want.

> hello,
>
> i would like to use the same html template for 2 or more website.
> is that possible ?
>
> what i would like to to is having a template with the static header and
> static footer
> and an dynamic content - like that:
>
> <html><body>
> <a href="www.hallo.de">hallo</a> ..... <!-- header -->
> <span jwcid="content"/>
> copyright by ..... <!-- footer -->
> </body></html>
>
> and then for differnet pages setting different tapestry componetens for
> jwcid=> content
>
> greetings grischan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


James Carman, President
Carman Consulting, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org