powerparin / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

Javascript error in WLS for ColumnNodeUI.js #497

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Deploy an Application using gwtExt jar in WebLogic Server
2. Make sure that ColumnNodeUI.js is used somewhere directly or indirectly 
by the Application.
3. In FF browse to that page.

What is the expected output? What do you see instead?
Instead of the page getting rendered, it throws a javascript error at 
line :
Ext.reg('columntree', Ext.tree.ColumnTree); 

What version of the product are you using? On what operating system?
1) gwtext.jar version 2.0.5.
2) OS : Windows XP, Linux

Please provide any additional information below.
This error occurs only when deployed using WebLogic Server. Tomcat simply 
ignores - no error.

Original issue reported on code.google.com by b.mal...@gmail.com on 2 Jun 2009 at 4:35

GoogleCodeExporter commented 8 years ago
i also have this problem, is annoying infact every time at start-up it gives 
the error.
this is myapp-nocache.js fragment:

if (!__gwt_scriptsLoaded['js/columntree/ColumnNodeUI.js']) {
    __gwt_scriptsLoaded['js/columntree/ColumnNodeUI.js'] = true;
    document.write('<script language="javascript" src="' + base +
'js/columntree/ColumnNodeUI.js"><\/script>');
  }
  if (!__gwt_scriptsLoaded['js/ext/adapter/ext/ext-base.js']) {
    __gwt_scriptsLoaded['js/ext/adapter/ext/ext-base.js'] = true;
    document.write('<script language="javascript" src="' + base +
'js/ext/adapter/ext/ext-base.js"><\/script>');
  }

as you can see columnnodeui.js is loaded before gwtext, so the error.
I also have the error with ie7, opera 9.6x, firefox 3.0x and firefox 3.1, seems 
that
firefox 3.5 ignores it, it doesn't depends on the webserver i'm using tomcat 
and i
got the error...as you can see the javascript generated is erroneous.

i hope it'll be solved.
bye Pat

Original comment by Patrag...@gmail.com on 19 Aug 2009 at 8:32

GoogleCodeExporter commented 8 years ago
this problem for me is appeared with gwt-ext 2.0.6, infact in previous release
columnnodeui.js wasn't present

Original comment by Patrag...@gmail.com on 19 Aug 2009 at 8:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
not sure this is the same issue, I'm using data grid (with or without paging).

got following throw outs from FireBug:
--------------
Ext is not defined
ColumnNodeUI.js()ColumnNodeUI.js (line 9)
[Break on this error] Ext.tree.ColumnTree = Ext.extend( Ext.tree.TreePanel,\r\n
--------------

Notes:
- if I'm using grid with paging, it will not work at all.
- if using grid without paging, it will work but still throw out error
- using firefox 3.5.2, GWT 1.7

Regards,
Avatar Ng

Original comment by NgChee...@gmail.com on 1 Sep 2009 at 8:16

GoogleCodeExporter commented 8 years ago
The problem firebug reports is exactly the same infact i'm not using paging of 
the
grid, so the application functions.
I also have to report that firefox 3.5.x throws it.
I believe a very simple solution is to switch back to ext 2.0.5 that are 
essentially
the same otherwise everytime you can edit the *.nocache.js and invert the order 
of the
document.write().
bye Pat

Original comment by Patrag...@gmail.com on 1 Sep 2009 at 9:02

GoogleCodeExporter commented 8 years ago
hi, i m facing the same problem. even after changing the order in every 
possible way i 
m getting the same error. i m using ext 2.0.5 only. kindly advice. 

Original comment by yen.mo...@gmail.com on 25 Sep 2009 at 7:05