Hi @all,

i need a new asset domain to have access to the filesystem.

In the doc http://tapestry.apache.org/assets.html
they say you "may define a new AssetFactory and contribute it to the AssetSource service configuration"

I have no idea how to deal with the two methods. Please help. What i have to do in Order to get access to files on my filesystem?

public AssetFactory buildAssetFactory()
    {
        return new AssetFactory(){

            @Override
            public Asset createAsset(Resource arg0)
            {
                return null;
            }

            @Override
            public Resource getRootResource() {
                return null;
            }

        };
    }

Kind regards
David

Reply via email to