Still blue in the face...

Any takers ?

Resource resource = new WebContextResource(getWebContext(), map.get(contentType).toString()); resource = new ContextResource(getServletContext(), map.get(contentType).toString());

       if ( map.containsKey(contentType)) {
           AssetFactory factory = getContextAssetFactory();

//IAsset absoluteAsset = factory.createAbsoluteAsset(map.get(contentType).toString(), null, null); //absoluteAsset = factory.createAbsoluteAsset(map.get(contentType).toString(), resource.getLocale(), getLocation());
           //IAsset asset = factory.createAsset(resource, getLocation());
//asset = factory.createAsset(resource, map.get(contentType).toString(), resource.getLocale(), getLocation()); IAsset asset = factory.createAsset(getLocation().getResource(), map.get(contentType).toString(), getLocation().getResource().getLocale(), getLocation());

           writer.attribute("src", asset.buildURL());

Best regards
Ken in nashua

_________________________________________________________________
From predictions to trailers, check out the MSN Entertainment Guide to the
Academy Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline1


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

Reply via email to