Thanks. There are no exmaples on these pages though.

public IAsset getScreenshot(String name){
                        
                        return new 
ExternalAsset("thumbs/".concat(name).concat(".JPG"), null);

I have tried this also:

So if I used PrivateAsset what do the paramters look like?

Just a short example would be cool....



-------- Original-Nachricht --------
> Datum: Tue, 8 Jan 2008 14:36:51 +0200
> Von: "Andreas Andreou" <[EMAIL PROTECTED]>
> An: "Tapestry users" <users@tapestry.apache.org>
> Betreff: Re: PrivateAsset example please

> it's auto-used when it's a classpath asset...
> see
> http://tapestry.apache.org/tapestry4.1/usersguide/spec.html#spec.asset
> and
> http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html
> (InjectAsset)
> 
> On Jan 8, 2008 2:02 PM,  <[EMAIL PROTECTED]> wrote:
> > I wonder who this works:
> >
> >
> http://tapestry.apache.org/tapestry4.1/tapestry-framework/apidocs/org/apache/tapestry/asset/PrivateAsset.html
> >
> > How do I use the PrivateAsset component?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> -- 
> Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to