You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Josh Joy <jo...@yahoo.com> on 2006/08/26 02:58:54 UTC
Html include? same header and footer for each page
Hi All,
Newbie question...I would like to maintain the same
header and footer
for each page (basically simulate an include)...what
is the recommended
approach to doing this? Thanks in advance.
Thanks,
Josh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Html include? same header and footer for each page
Posted by "hv @ Fashion Content" <in...@fashioncontent.com>.
You can make a two components(Header & Footer) and use BaseComponent as the
class, and use them on your pages.
<component-specification class="org.apache.tapestry.BaseComponent"
allow-body="yes" allow-informal-parameters="yes">
</component-specification>
For more info:
http://wiki.apache.org/tapestry/HowTos
Henrik
"Karthik N" <ka...@gmail.com> skrev i en meddelelse
news:8c4b65d40608251848o3f4f2d8p1499bfeeee94e85b@mail.gmail.com...
> look at the @Border component
>
> On 8/26/06, Josh Joy <jo...@yahoo.com> wrote:
>>
>> Hi All,
>>
>> Newbie question...I would like to maintain the same
>> header and footer
>> for each page (basically simulate an include)...what
>> is the recommended
>> approach to doing this? Thanks in advance.
>>
>> Thanks,
>> Josh
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> Thanks, Karthik
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Html include? same header and footer for each page
Posted by Karthik N <ka...@gmail.com>.
look at the @Border component
On 8/26/06, Josh Joy <jo...@yahoo.com> wrote:
>
> Hi All,
>
> Newbie question...I would like to maintain the same
> header and footer
> for each page (basically simulate an include)...what
> is the recommended
> approach to doing this? Thanks in advance.
>
> Thanks,
> Josh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Thanks, Karthik