You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nick Heudecker <nh...@gmail.com> on 2005/06/28 16:51:32 UTC

Tapestry Templates

How can I have a single HTML page include static or dynamic content
from another HTML page using Tapestry?  I don't want to put the HTML
header and footer in each page.

Let me know if what I'm asking isn't clear.  I'm new to Tapestry and
having a miserable time learning it.

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


Re: Tapestry Templates

Posted by Geoff Longman <gl...@gmail.com>.
Oops. I think I was answering another question altogether.

A "Border" component is the pattern you want to follow for content
that is the same (but my or may not be dynamic) on every page. Chapter
6 section 6 of Tapestry In Action describes this - or you can seach
the list here:

http://dir.gmane.org/gmane.comp.java.tapestry.user

Geoff

On 6/28/05, Nick Heudecker <nh...@gmail.com> wrote:
> Thanks for the quick response.  Could you point me at an example?  I
> wasn't able to find anything on Google.
> 
> On 6/28/05, Geoff Longman <gl...@gmail.com> wrote:
> > you can use an asset tag  in the xml spec with the name $template to
> > force Tapestry to use a particular template.
> >
> > Geoff
> >
> > On 6/28/05, Nick Heudecker <nh...@gmail.com> wrote:
> > > How can I have a single HTML page include static or dynamic content
> > > from another HTML page using Tapestry?  I don't want to put the HTML
> > > header and footer in each page.
> > >
> > > Let me know if what I'm asking isn't clear.  I'm new to Tapestry and
> > > having a miserable time learning it.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > The Spindle guy.           http://spindle.sf.net
> > Get help with Spindle:
> > http://lists.sourceforge.net/mailman/listinfo/spindle-user
> > Announcement Feed:
> > http://www.jroller.com/rss/glongman?catname=/Announcements
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


-- 
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements

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


Re: Tapestry Templates

Posted by Nick Heudecker <nh...@gmail.com>.
Thanks for the quick response.  Could you point me at an example?  I
wasn't able to find anything on Google.

On 6/28/05, Geoff Longman <gl...@gmail.com> wrote:
> you can use an asset tag  in the xml spec with the name $template to
> force Tapestry to use a particular template.
> 
> Geoff
> 
> On 6/28/05, Nick Heudecker <nh...@gmail.com> wrote:
> > How can I have a single HTML page include static or dynamic content
> > from another HTML page using Tapestry?  I don't want to put the HTML
> > header and footer in each page.
> >
> > Let me know if what I'm asking isn't clear.  I'm new to Tapestry and
> > having a miserable time learning it.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> 
> 
> --
> The Spindle guy.           http://spindle.sf.net
> Get help with Spindle:
> http://lists.sourceforge.net/mailman/listinfo/spindle-user
> Announcement Feed:
> http://www.jroller.com/rss/glongman?catname=/Announcements
>

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


Re: Tapestry Templates

Posted by Geoff Longman <gl...@gmail.com>.
you can use an asset tag  in the xml spec with the name $template to
force Tapestry to use a particular template.

Geoff

On 6/28/05, Nick Heudecker <nh...@gmail.com> wrote:
> How can I have a single HTML page include static or dynamic content
> from another HTML page using Tapestry?  I don't want to put the HTML
> header and footer in each page.
> 
> Let me know if what I'm asking isn't clear.  I'm new to Tapestry and
> having a miserable time learning it.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


-- 
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements

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