在 Oracle Mobile Application Framework 中显示远程图像

Displaying an remote image in Oracle Mobile Application Framework

如何使用 Oracle 移动应用程序框架 (MAF) 显示来自远程服务器的图像?

<amx:image id="i2" inlineStyle="width: 75%" source="http://www.somesite.com/path/to/image.jpg"/>

您必须将外部 URL 的(一部分)添加到您的 whitelist。该白名单可以在您的

中找到

maf-application.xml -> Security -> Remote URL Whitelist

可以在此博客上找到更多信息和示例:MAF: UNABLE TO DISPLAY IMAGE / URL / …

关于 Oracle MAF 中的白名单的精彩视频:Remote URLs and Whitelists in Oracle MAF