Hi,
i've got a problem...
I try do it this:
http://www.17od.com/2008/07/24/how-to-create-a-remote-paging-listview-using-gwt-ext/
I using:
- Eclipse Platform
Version: 3.5.2.R35x_v20100210-0800-9hEiFzmFst-
TiEn9hNYgDWg1XN8ulH_JvCNGB
Build id: M20100211-1343
- SDK - GWT: 2.0.3
- ext-2.0.2
- gwtext-2.0.5
My files:
ExtText.gwt.xml:
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='exttext'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.gwtext.GwtExt' />
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<entry-point class='com.extext.client.ExtText'/>
<source path='client'/>
<source path='shared'/>
<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" />
</module>
I add in war/js/ext:
/adapter
/resources
ext-all.js
ext-all-debug.js
ext-core.js
ext-core-debug.js
in war/WEB-INF/lib i added: gwtext.jar
In Java Build Path i added library gwtext.jar
When i run this application i see errors:
10:50:43.960 [ERROR] [exttext] Unable to load module entry point class
com.extext.client.ExtText (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): $wnd.Ext
is undefined
fileName:
http://127.0.0.1:8888
lineNumber: 227
stack: ()@http://127.0.0.1:8888:227
connect("
http://127.0.0.1:8888/ExtText.html?
gwt.codesvr=
127.0.0.1:9997","JRV.n>YqwS{(uX4x","
127.0.0.1:9997","exttext","2.0")@:
0
((void 0),"exttext","
http://127.0.0.1:8888/exttext/")@http://
127.0.0.1:8888/exttext/hosted.html?exttext:264
z()@
http://127.0.0.1:8888/exttext/exttext.nocache.js:2
(4)@
http://127.0.0.1:8888/exttext/exttext.nocache.js:9
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
195)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
120)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
507)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:
179)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:
35)
at com.gwtext.client.widgets.Component.checkExtVer(Component.java)
at com.gwtext.client.widgets.Component.<clinit>(Component.java:
108)
at com.extext.client.ExtText.onModuleLoad(ExtText.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
369)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Unknown Source)
Please help me.
Thanks for answer