Alright that was good and worked. thanks Andy...
@InjectObject("service:tapestry.asset.ClasspathAssetFactory")
public abstract AssetFactory getClasspathAssetFactory();
AssetFactory fact = getClasspathAssetFactory();
IAsset asset =
fact.createAbsoluteAsset(map.get(contentType).toString(),
null,
null);
writer.attribute("src", asset.buildURL());
Best regards
Ken in nashua
_________________________________________________________________
Dont miss your chance to WIN 10 hours of private jet travel from Microsoft
Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]