You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Stavrinides <p....@albourne.com> on 2006/10/17 10:09:27 UTC

Whats the best way to include a remote file?

Hi

I included a local stylesheet using IAsset in the @shell component, 
which was easy enough:

@Asset("context:/CSS/styles.css")
public abstract IAsset getStyles();

<html jwcid="@Shell" renderBaseTag="false" title="ognl:page.pageName" 
stylesheet="asset:styles" >


 but was wandering what the best approach is to include an html file 
(maybe a remote resource), into the body of my content page.

Thanks
Peter






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


Re: Whats the best way to include a remote file?

Posted by Jesse Kuhnert <jk...@gmail.com>.
Like this?

http://tapestry.apache.org/tapestry4.1/faq.html#jsp-includes

On 10/17/06, Peter Stavrinides <p....@albourne.com> wrote:
>
> Hi
>
> I included a local stylesheet using IAsset in the @shell component,
> which was easy enough:
>
> @Asset("context:/CSS/styles.css")
> public abstract IAsset getStyles();
>
> <html jwcid="@Shell" renderBaseTag="false" title="ognl:page.pageName"
> stylesheet="asset:styles" >
>
>
> but was wandering what the best approach is to include an html file
> (maybe a remote resource), into the body of my content page.
>
> Thanks
> Peter
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com