GWT Application throws JavascriptException on Windows 7 IE 8
Hello All, We recently migrated from PCs having Windows XP to Windows 7 64-bit in our organization. My machine has Windows 7 64bit, IE 8 (both 32-bit and 64-bit) GWT 2.4.0. Our Application used to work perfectly on Windows XP (before migration) and the app uses fair amount of GwtExt as well. However, the same app is not working on Windows 7 in some strange situations. E.g. In a panel, we have a close button (with a cross image) on the panel header which closes the panel. When I click on this button, it throws a Java script error in IE as follows :- Error : Object doesn't support this property or method File : hosted.html Also, I get a weird JavascriptException thrown in the stacktrace of GWT HostedMode screen as follows :- 00:02:45.090 [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error. number: -2147467259 description: Unspecified error. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 237)at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 129)at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561)at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269)at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java)at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43) at java.lang.reflect.Method.invoke(Method.java:601) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157)at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281)at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531)at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352)at java.lang.Thread.run(Thread.java:722) I searched about this a lot on the net, found a few threads, but none could help. I am using JDK 7 64-bit and IE 32 bit with GWTDevPluginx86 installed. I DON'T HAVE CHROME FRAME INSTALLED AS WELL. Any help would be appreciated as this is an urgent issue. Thanks in advance :) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Application throws JavascriptException on Windows 7 IE 8
Guys, any workaround ? On Feb 28, 7:53 pm, Vibhas Zanpure vibhas.zanp...@gmail.com wrote: Hello All, We recently migrated from PCs having Windows XP to Windows 7 64-bit in our organization. My machine has Windows 7 64bit, IE 8 (both 32-bit and 64-bit) GWT 2.4.0. Our Application used to work perfectly on Windows XP (before migration) and the app uses fair amount of GwtExt as well. However, the same app is not working on Windows 7 in some strange situations. E.g. In a panel, we have a close button (with a cross image) on the panel header which closes the panel. When I click on this button, it throws a Java script error in IE as follows :- Error : Object doesn't support this property or method File : hosted.html Also, I get a weird JavascriptException thrown in the stacktrace of GWT HostedMode screen as follows :- 00:02:45.090 [ERROR] Uncaught exception escaped com.google.gwt.core.client.JavaScriptException: (Error): Unspecified error. number: -2147467259 description: Unspecified error. at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: 237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: 129) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: 561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: 269) at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: 91) at com.google.gwt.core.client.impl.Impl.apply(Impl.java) at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 43) at java.lang.reflect.Method.invoke(Method.java:601) at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java: 71) at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: 157) at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: 281) at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: 531) at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: 352) at java.lang.Thread.run(Thread.java:722) I searched about this a lot on the net, found a few threads, but none could help. I am using JDK 7 64-bit and IE 32 bit with GWTDevPluginx86 installed. I DON'T HAVE CHROME FRAME INSTALLED AS WELL. Any help would be appreciated as this is an urgent issue. Thanks in advance :) -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How to hide a column in CellTable
Hello, I tried using setColumnWidth to 0px and also tried clearColumnWidth... But its not working... Any suggestions? I am using IE8 in quirks mode...Thanks in advance -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How to hide a column in CellTable
Thanks Karthik for the reply :)... However, in my case, I cant use fixed table layout and therefore can't use setColumnWidth to 0px... So is there any other way ? On Feb 8, 2:30 pm, karthik vadapalli karthik29...@gmail.com wrote: http://stackoverflow.com/questions/7116758/how-to-hide-column-in-cell... watch this it might be useful for you On Wed, Feb 8, 2012 at 2:53 PM, Vibhas Zanpure vibhas.zanp...@gmail.comwrote: Hello, I tried using setColumnWidth to 0px and also tried clearColumnWidth... But its not working... Any suggestions? I am using IE8 in quirks mode...Thanks in advance -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Regards, v.karthik, +919967930663. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT CellTable distorts when window is minimized or maximized...
Thanks for the reply Drew. Sadly I cant stop using IE7 because the project runs only on IE and client also wants it that way :). Anyway I could get over this problem ? Another funny thing I noticed with IE7 is that whenever I hover over a CellTable row, the color which is supposed to get changed takes a lot of time (nearly 2-3 seconds)... In firefox, the same takes absolutely no time at all... -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT CellTable distorts when window is minimized or maximized...
Hi, When I minimize my IE7 window and maximize it again, the GWT 2.4 CellTable headers and rows get distorted... Any way I can fix this issue ? Thanks in advance... -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT CellTable getColumnWidth problem when inserting a Column object
Sorry the code couldn't get indented when i posted earlier... Here is the indented code :- CellTableString[] cellTable = new CellTableString[](10, tableRes); // tableRes is a tableResources object to do custom styling on the CellTable... // I add some columns to the cellTable I have skipped that part of code while posting here...The first column// added is a CheckboxCell Column and rest are all TextCell columns. cellTable.addCellPreviewHandler(new CellPreviewEvent.HandlerString[]() { public void onCellPreview(CellPreviewEventString[] event) { String type = event.getNativeEvent().getType(); if (type.equals(mousedown)) { int col = event.getColumn(); ColumnString[], ? column = (ColumnString[], ? )cellTable.getColumn(col); Window.alert(CLICKED + col + / + event.getNativeEvent().getClientX() + / + event.getNativeEvent().getClientY()); int colOrigWidth = Integer.parseInt(cellTable.getColumnWidth(column)); System.out.println(Column + col + Original Width : + colOrigWidth); } } }); Any reason as to why getColumnWidth() is throwing up that error and how to solve it? -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT CellTable getColumnWidth problem when inserting a Column object
Oops I made a mistake in the earlier post. Its working with setColumnWidth() but NOT working when i pass that same column object to getColumnWidth()... Any solution for this ? Thanks in advance. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
GWT CellTable getColumnWidth problem when inserting a Column object
Hello, I am trying to implement dynamically resizable columns in GWT 2.4 CellTable. What I am trying to do here is that on the mousedown event, I get the X,Y co-ordinates where the mousedown event occured and also the Column in which it occured. Then I am trying to get the Column object using getColumn(int columnIndex) method and it returns me a Column object. The problem arises when I pass this Column object to getColumnWidth() method because I want to calculate the original width of the Column and then re-set it according to where the User- clicks it (i.e. the X co-ordinate when the mouse down event occurs.) Below is the code snippet :- CellTableString[] cellTable = new CellTableString[](10, tableRes); // tableRes is a tableResources object to do custom styling on the CellTable... // I add some columns to the cellTable I have skipped that part of code while posting here...The first column// added is a CheckboxCell Column and rest are all TextCell columns. cellTable.addCellPreviewHandler(new CellPreviewEvent.HandlerString[]() { public void onCellPreview(CellPreviewEventString[] event) { String type = event.getNativeEvent().getType(); if (type.equals(mousedown)) { int col = event.getColumn(); ColumnString[], ? column = (ColumnString[], ? )cellTable.getColumn(col); Window.alert(CLICKED + col + / + event.getNativeEvent().getClientX() + / + event.getNativeEvent().getClientY()); int colOrigWidth = Integer.parseInt(cellTable.getColumnWidth(column)); System.out.println(Column + col + Original Width : + colOrigWidth); } } }); When I execute the code, I get an error in Development Mode window of GWT, as stated below :- 00:01:30.782 [ERROR] Line 5257: The method getColumnWidth(ColumnString[],capture#3-of ?) is undefined for the type CellTableString[] I guess the problem here is that the Column type arguments are either ColumnString[], Boolean or ColumnString[], String and that is causing the error ? Any help would be appreciated as this issue that I am facing is urgent. Thanks in advance. P.S. :- The same error appears when I try to use setColumnWidth() as well... -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.