RuntimePolicyReference reference =
resolver.resolvePolicyExpression(expression);
AssetResolver assetResolver = context.getAssetResolver();
ImageAssetReference image =
new DefaultComponentImageAssetReference(reference,
assetResolver);
String url = image.getURL();
if (url != null) {
return url;
}
actionImageCaption = getTextFromReference(
image.getTextFallback(), TextEncoding.PLAIN);
} catch (AssetReferenceException e) {
logger.error ("repository-exception", e);
}
} else if (valueType == StyleValueType.TRANSCODABLE_URI) {