Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我Img在 SmartGWT 中创建对象时,它的主路径是 [myapp]/images/ 但我想Img从外部服务器获取,如何设置它的路径?
Img
如果我没记错的话,Img对象应该反映 HTML<img>标记的行为。如果我是正确的,那么您应该能够在构建时指定图像的 URL。
<img>
Img myImg = new Img("http://www.example.com/image.gif");
查看img标签文档。