GWT arbitrary HTML



在GWT中,如何在onModuleLoad方法中插入框架集以及相对嵌套的框架集和框架以合并许多小程序和其他小部件和HTML?代码片段为: public class MainEntryPoint 实现 EntryPoint { public void onModuleLoad() { FrameSetElement frameSet; Document documento = Document.get(); frameSet = documento.createFrameSetElement(); frameSet.setCols("2"); frameSet.setRows("2"); RootPanel.get("s").add(frameSet); } }它不运行,网页保持空白!谁能帮我,我是GWT初学者。谢谢萨萨

您可以从GWT的 http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/dom/client/FrameSetElement.html 文档开始

如果您发布更详细的问题,其中包含代码片段和错误信息(如果有),这将有所帮助。

最新更新