I made a simple application to test Gwt-Ext but give me error.. the
error is this :
[ERROR] Unable to load module entry point class gwt.client.Application
(see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (TypeError): Undefined
value
line: 119
sourceURL: jar:file:/Users/smartsr/Uni/tirocinio/gwtext-2.0.5/
gwtext.jar!/com/gwtext/client/widgets/Component.java
at com.gwtext.client.widgets.Component.checkExtVer(Native
Method)
at com.gwtext.client.widgets.Component.<clinit>(Component.java:
108)
at gwt.client.Application.onModuleLoad(Application.java:13)
my apps is:
import com.google.gwt.core.client.EntryPoint;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.Panel;
import com.gwtext.client.widgets.Viewport;
public class Application implements EntryPoint {
public void onModuleLoad() {
Panel panel = new Panel();
panel.setBorder(false);
panel.setPaddings(15);
Button b=new Button("prova");
panel.add(b);
Viewport view=new Viewport(panel);
}
}
xml file is:
<module>
<!-- Inherit the core Web Toolkit stuff. -->
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.gwtext.GwtExt'/>
<!-- Specify the app entry point class. -->
<entry-point class='gwt.client.Application'/>
</module>
I also create a folder js where i put ext 2.0.2
html file is:
<html>
<head>
<title>Wrapper HTML for Application</title>
<style>
body,td,a,div,.p{font-family:arial,sans-serif}
div,td{color:#000000}
a:link,.w,.w a:link{color:#0000cc}
a:visited{color:#551a8b}
a:active{color:#ff0000}
<link rel="stylesheet" type="text/css" href="js/ext/
resources/css/
ext-all.css"/>
<script type="text/javascript" src="js/ext/adapter/ext/
ext-
base.js"></script>
<script type="text/javascript" src="js/ext/ext-
all.js"></script>
</style>
</head>
<body>
<iframe src="javascript:''" id="__gwt_historyFrame"
style="width:
0;height:0;border:0"></iframe>
<script type="text/javascript" language="javascript"
src="gwt.Application.nocache.js"></script>
</body>
</html>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---