Hi, Well I solved this problem: I just needed to Inject tapestry's ContextAssetFactory, into my component, like this:
@InjectObject("service:tapestry.asset.ContextAssetFactory") public abstract AssetFactory getAssetFactory(); Then I invoked the createAbsoluteAsset method on the factory like this: getAssetFactory().createAbsolute("context-path-to-file", getPage().getLocale(),getLocation()); I got this hint by reading the HiveDoc for tapestry, which imho is a little hard to read... regards, miguel On 3/19/07, Miguel Angel Hernández <[EMAIL PROTECTED]> wrote:
Hi all, Does anybody nows a way to obtain Assets dynamically? cheers, miguel