GWT EXT(GXT) 中的 Hello World
我想从 Gwt ext 开始,只是想从这个 tutorial
但是当我运行我的程序时它说
无法在类路径中找到“com/extjs/gxt/ui/GXT.gwt.xml”;
如果我然后将其替换为我的 xml 文件,
<inherits name='com.gwtext.GwtExt'/>
则会出现此错误
com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext' 为 null 或不是对象
i want to start with Gwt ext , just trying to write my first program (Hello World) in EXT-GWT from this tutorial
But when i run my program it says
unable to find 'com/extjs/gxt/ui/GXT.gwt.xml' on your classpath;
if i then replace it in my xml file to
<inherits name='com.gwtext.GwtExt'/>
then it gives this error
com.google.gwt.core.client.JavaScriptException: (TypeError): '$wnd.Ext' is null or not an object
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否想通过 Ext GWT 教程来熟悉 GWT Ext?在这种情况下,顺序很重要,GWT Ext 与 Ext GWT 不同。
话虽如此,假设您想开始使用 ExtGwt,而不是 GWT EXT,您的类路径中可能没有 EXTGwt jar。
另外,在教程中它说您应该
在 gwt.xml 文件中包含此内容。不要将其更改为 GwtExt,因为就像我之前所说的那样,ExtGWT != GWT Ext。
区别在于:
ExtGWT 是 StackOverflow 上该类别所指的产品。它是由sencha开发的。
GWT Ext 是 ExtJS 的开源包装器(也由 Sencha 开发)。
请参阅这篇文章以获得更清晰的视图:http:// /roberthanson.blogspot.com/2008/04/gwt-ext-vs-ext-gwt.html,或这个:gwt-ext 和 ext-gwt 之间的区别
Are you trying to get stared with GWT Ext, using a tutorial for Ext GWT? In this case, order is important, GWT Ext is different from Ext GWT.
Having that said, and assuming you want to get started with ExtGwt, not GWT EXT, you probably don't have the EXTGwt jar in your classpath.
Also, in the tutorial it says you should have this:
in your gwt.xml file. Don't change it to GwtExt, because like I said before, ExtGWT != GWT Ext.
Difference is:
ExtGWT is the product this category on StackOverflow reffers to. It's developed by sencha.
GWT Ext is an open source wrapper for ExtJS (developed by Sencha also).
See this post for a more clear view: http://roberthanson.blogspot.com/2008/04/gwt-ext-vs-ext-gwt.html, or this one: Difference between gwt-ext and ext-gwt