Wednesday, September 15, 2010

GWT 1.5.3 and gwtext-2.0.4

Hi!
I am tryinig to run an application using GWT 1.5.3, gwtext-2.0.5 and
gwtextux-0.3 but I can't get an exception when I execute:
fondoPanel = new Panel(); //import
com.gwtext.client.widgets.Panel;

>[ERROR] Unable to load module entry point class gds.cm.client.index (see associated exception for details)
>com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.Ext has no properties
>fileName: jar:file:/home/xxxx/librerias/gwtext-2.0.5/gwtext.jar!/com/
gwtext/client/widgets/Component.java
>lineNumber: 118
>stack: ()@jar:file:/home/xxxx/librerias/gwtext-2.0.5/gwtext.jar!/com/
gwtext/client/widgets/>Component.java:118
>gwtOnLoad([object Window],"gds.cm.index","1.5")@:0
>gwtOnLoad(undefined,"gds.cm.index","http://localhost:8080/XXXX-war/gds.cm.index/")@http://>localhost:8080/XXXX-war/gds.cm.index/hosted.html?gds_cm_index:20
>xc()@http://localhost:8080/XXXX-war/gds.cm.index/gds.cm.index.nocache.js:2
>()@http://localhost:8080/XXXX-war/gds.cm.index/gds.cm.index.nocache.js:9
>@http://localhost:8080/XXXX-war/gds.cm.index/hosted.html?gds_cm_index:39

> at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
> at com.gwtext.client.widgets.Component.<clinit>(Component.java:108

This is my index.gwt.xml file:
<module>
<inherits name="com.google.gwt.user.User"/>
<inherits name="com.gwtext.GwtExt"/>
<inherits name="com.gwtextux.GwtExtUx"/>
<stylesheet src="js/ext/resources/css/ext-all.css"/>
<script src="js/ext/adapter/ext/ext-base.js"/>
<script src="js/ext/ext-all.js"/>
<inherits name="com.gwtent.GwtEnt"/>
<inherits name="org.gwtwidgets.WidgetLibrary"/>
<inherits name="net.sf.hibernate4gwt.Hibernate4Gwt15"/>
<inherits name="com.gwtext.Charts"/>
<source path="client"/>
<entry-point class="xxxx.cm.client.index"/>
</module>

In the public folder I copy under directory js: ext-all.js, resources/
and adapter/
In the src folder I copy under directory js: ext-all.js, resources/
and adapter/

I try some solutions but nothing,
Other post with similar problem is:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/12a3f887e054bf4f
I tried but doesn't work

Anybody have some idea?
Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment