There is also a Tacos/Tassel component that lets you include raw html.

-----Original Message-----
From: Paul Cantrell [mailto:[EMAIL PROTECTED]
Sent: Tue 12/27/2005 10:34 AM
To: Tapestry users
Subject: Re: jsp @include equivalent
 
Components secretly (actually, not so secretly) function as includes.

To include MyInclude.html:

        <div jwcid="@MyInclude"/>

You may have to create a MyInclude.jwc to go with it. Your includes  
can also take parameters and (unlike JSP) render the enclosed body --  
read the docs on the "Border" component.

Cheers,

Paul


On Dec 27, 2005, at 10:26 AM, Mazhar, Osman (Home Office) wrote:

> Hello,
>
>
>
> Is there an equivalent technique of including html blocks in  
> tapestry -
> similar to the jsp @include tag?
>
>
>
> Osman Mazhar
>
> Sr Technical Architect
>
> The Leukemia & Lymphoma Society
>
> 1311 Mamaroneck Avenue
>
> White Plains, NY 10605
>
> 914-821-8210
>
>
>
>
>
> NOTICE: This message, including all attachments transmitted with  
> it, is for
> the use of the addressee only. It may contain proprietary,  
> confidential
> and/or legally privileged information. No confidentiality or  
> privilege is
> waived or lost by any mistransmission. If you are not the intended
> recipient, you must not, directly or indirectly, use, disclose,  
> distribute,
> print or copy any part of this message. If you believe you have  
> received
> this message in error, please delete it and all copies of it from your
> system and notify the sender immediately by reply e-mail. Thank you.
> REF#38293.51942
>
>
> ______________________________________________________________________
> This e-mail has been scanned by The Leukemia & Lymphoma Society  
> Managed Email Content Service, provided by MCI and Message Labs.

_________________________________________________________________
Piano music podcast: http://inthehands.com
Other interesting stuff: http://innig.net



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to