为 smartgwt 的HTMLPane指定IFrame的ID
这两天在支持项目时发现需要在smartgwt中调用HTMLPane中嵌入页面的javascript方法,那么就必须指定HTMLPane中IFrame的ID,但是HTMLPane类本身没有相关的方法。
google后发现有一种解决方案:
1.使用
htmlPane.setContents( "<iframe id='" + "miMapa" + "' src='" + "map.htm...
2012-09-20 11:00:23 ·
125 阅读 ·
0 评论