Hello!

My GWT application works only in IE6 in Dev-Mode. When I try Firefox
or Chrome it bahaves just like I was using IE6 - so it uses DomImplIE6
and other classes designed for this browser.

When I try setting user.agent to gecko1_8 (without IE6) it still works
fine on IE6 and withous success in FF.

Sometimes the application works fine on FF just after I run the Dev-
Mode, but when I refresh it - it fails because GWT has Rules to call
IE6 implementations instead of FF.


com.google.gwt.core.client.JavaScriptException:
(NS_ERROR_DOM_INVALID_CHARACTER_ERR): String contains an invalid
character
 code: 5
 INDEX_SIZE_ERR: 1
 DOMSTRING_SIZE_ERR: 2
 HIERARCHY_REQUEST_ERR: 3
 WRONG_DOCUMENT_ERR: 4
 INVALID_CHARACTER_ERR: 5
 NO_DATA_ALLOWED_ERR: 6
 NO_MODIFICATION_ALLOWED_ERR: 7
 NOT_FOUND_ERR: 8
 NOT_SUPPORTED_ERR: 9
 INUSE_ATTRIBUTE_ERR: 10
 INVALID_STATE_ERR: 11
 SYNTAX_ERR: 12
 INVALID_MODIFICATION_ERR: 13
 NAMESPACE_ERR: 14
 INVALID_ACCESS_ERR: 15
 VALIDATION_ERR: 16
 TYPE_MISMATCH_ERR: 17
 result: 2152923141
 filename: http://127.0.0.1:9999
 lineNumber: 93
 columnNumber: 0
 inner: null
 data: null
    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.invokeNativeObject(ModuleSpace.java:
264)
    at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
    at
com.google.gwt.dom.client.DOMImplTrident.createButtonElement(DOMImplTrident.java)
    at com.google.gwt.dom.client.Document$.createPushButtonElement$
(Document.java:834)
    at com.google.gwt.user.client.ui.Button.<init>(Button.java:69)
    at com.google.gwt.user.client.ui.Button.<init>(Button.java:79)
    at com.xxx.xxx.client.ui.RightPanel.<init>(RightPanel.java:26)

where line 26 in RightPanel.java is:
private final Button btnOk = new Button("New Button");

The application works fine on FF when not in Dev-Mode.

Any ideas what can be wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to