When I try to add a script element to the document body I get an Error
when I set the Element instance -> setInnerHTML. (GWT 1.5)
public void onModuleLoad() {
Element script = DOM.createElement("script");
script.setInnerHTML("..."));
RootPanel.getBodyElement().appendChild(script);
}
[ERROR] Unable to load module entry point class
com.tfact.gwt.test.beanmodel.client.GxtBeanModelTest (see associated
exception for details)
com.google.gwt.core.client.JavaScriptException: (Error): Unbekannter
Laufzeitfehler
number: -2146827688
description: Unbekannter Laufzeitfehler
at com.google.gwt.dom.client.Element$.setInnerHTML$(Native Method)
at
com.tfact.gwt.test.beanmodel.client.GxtBeanModelTest.onModuleLoad(GxtBeanModelTest.java:
16)
Could anybody give me a hint whats going on?
TIA
Martin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---