NicoP
26 Jun 2008, 1:33 AM
Hello,
This is my first step to use ExtJS2 with GXT1.0RC1 and GWT1.5, but I get a recursive error (10 errors occurs every seconds) when I try to draw a Window object.
Error message in Mozilla Fire Bug:
ext-base.js (line 10)
Ext.lib.AnimMgr has no properties
getViewWidth()ext-base.js (line 10)
chrome://firebug/content/blank.gif(function(){var B;Ext.lib.Dom={getViewWidth:function(E){return E?this.getDocumen...
My basic code into the Java entry point:
public void onModuleLoad() {
Window win = new Window();
win.setTitle("My Title");
win.setSize(300,200);
win.setResizable(false);
win.setModal(false);
win.show();
}
My HTML page contains the following HEADER lines:
<link rel="stylesheet" type="text/css" href="${ctx}/resources/ext/resources/css/ext-all.css" />
<script type="text/javascript" src="${ctx}/resources/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="${ctx}/resources/ext/ext-all-debug.js"></script>
<script type="text/javascript" src="com.xxx.MyEntryPointClass.nocache.js"></script>
XML file module description:
<module>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.extjs.gxt.ui.GXT'/>
<entry-point class='xxx.xxx.MyEntryPointClass'/>
<servlet path="/myService" class="xxx.server.MyServiceImpl"/>
</module>
Thanks in advance for your help.
Nico
This is my first step to use ExtJS2 with GXT1.0RC1 and GWT1.5, but I get a recursive error (10 errors occurs every seconds) when I try to draw a Window object.
Error message in Mozilla Fire Bug:
ext-base.js (line 10)
Ext.lib.AnimMgr has no properties
getViewWidth()ext-base.js (line 10)
chrome://firebug/content/blank.gif(function(){var B;Ext.lib.Dom={getViewWidth:function(E){return E?this.getDocumen...
My basic code into the Java entry point:
public void onModuleLoad() {
Window win = new Window();
win.setTitle("My Title");
win.setSize(300,200);
win.setResizable(false);
win.setModal(false);
win.show();
}
My HTML page contains the following HEADER lines:
<link rel="stylesheet" type="text/css" href="${ctx}/resources/ext/resources/css/ext-all.css" />
<script type="text/javascript" src="${ctx}/resources/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="${ctx}/resources/ext/ext-all-debug.js"></script>
<script type="text/javascript" src="com.xxx.MyEntryPointClass.nocache.js"></script>
XML file module description:
<module>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.extjs.gxt.ui.GXT'/>
<entry-point class='xxx.xxx.MyEntryPointClass'/>
<servlet path="/myService" class="xxx.server.MyServiceImpl"/>
</module>
Thanks in advance for your help.
Nico