The documentation (http://tapestry.apache.org/tapestry5/guide/assets.html)
tells me to define a new AssetFactory and contribute it to the AssetSource
service configuration.
Yes okay, but how do I implement an AssetFactory? Is there any
documentation?

What do I need to do with public Resource getRootResource() and public Asset
createAsset(Resource resource);
I also looked at ClasspathAssetFactory but don't understand it. The comment
is too minimal.

Can someone help me with this?

Thanks,
Peter!

On Tue, Mar 10, 2009 at 1:59 PM, Peter Kanze <peterka...@gmail.com> wrote:

> Oke thank you.
>
> But how do I map between the web http:// and the file D:/ urls?
> Can you give me some (pseudo) code examples how to do this?
>
> Thanks!
> Peter
>
>
>
>
> On Tue, Mar 10, 2009 at 1:56 PM, Thiago H. de Paula Figueiredo <
> thiag...@gmail.com> wrote:
>
>> On Tue, Mar 10, 2009 at 9:51 AM, Peter Kanze <peterka...@gmail.com>
>> wrote:
>> > I already searched the archive and found the question, but it is not
>> clear
>> > to me.
>> > There are no examples in it with a dynamic path..
>>
>> You'll use AssetSource for that.
>>
>> --
>> Thiago
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>

Reply via email to