skhan
05-02-2008, 11:19 AM
I grabbed the source from SVN this morning and I'm having some trouble with my combo box.
Here's the code used to create the ComboBox:
Store store = new Store();
store.add(TestData.getObjectTypes());
ComboBox typeField = new ComboBox();
typeField.setFieldLabel("Type");
typeField.setWidth(200);
typeField.setDisplayField("name");
typeField.setStore(store);
And here's the exception that's thrown:
com.google.gwt.core.client.JavaScriptException: (TypeError): 'srcElement' is null or not an object
message: 'srcElement' is null or not an object
number: -2146823281
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:487)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:255)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:105)
at com.google.gwt.user.client.impl.DOMImplIE6.eventGetTarget(DOMImplIE6.java:61)
at com.google.gwt.user.client.DOM.eventGetTarget(DOM.java:575)
at com.extjs.gxt.ui.client.widget.DataView.createComponentEvent(DataView.java:599)
at com.extjs.gxt.ui.client.widget.Container.insert(Container.java:208)
at com.extjs.gxt.ui.client.widget.LayoutContainer.insert(LayoutContainer.java:172)
at com.extjs.gxt.ui.client.widget.LayoutContainer.add(LayoutContainer.java:89)
at com.extjs.gxt.ui.client.widget.form.ComboBox.initList(ComboBox.java:517)
Additional notes:
This exact code was working fine in Beta 1
I deployed the explorer.war that was built and it throws javascript errors which makes IE display nothing.
In Firefox all examples are viewable except for the FormPanel and ToolBar - Menu.
How would I go about running the explorer demo in hosted mode?
Maybe then I could provide you with more information.
Thanks
Here's the code used to create the ComboBox:
Store store = new Store();
store.add(TestData.getObjectTypes());
ComboBox typeField = new ComboBox();
typeField.setFieldLabel("Type");
typeField.setWidth(200);
typeField.setDisplayField("name");
typeField.setStore(store);
And here's the exception that's thrown:
com.google.gwt.core.client.JavaScriptException: (TypeError): 'srcElement' is null or not an object
message: 'srcElement' is null or not an object
number: -2146823281
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:487)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:255)
at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:105)
at com.google.gwt.user.client.impl.DOMImplIE6.eventGetTarget(DOMImplIE6.java:61)
at com.google.gwt.user.client.DOM.eventGetTarget(DOM.java:575)
at com.extjs.gxt.ui.client.widget.DataView.createComponentEvent(DataView.java:599)
at com.extjs.gxt.ui.client.widget.Container.insert(Container.java:208)
at com.extjs.gxt.ui.client.widget.LayoutContainer.insert(LayoutContainer.java:172)
at com.extjs.gxt.ui.client.widget.LayoutContainer.add(LayoutContainer.java:89)
at com.extjs.gxt.ui.client.widget.form.ComboBox.initList(ComboBox.java:517)
Additional notes:
This exact code was working fine in Beta 1
I deployed the explorer.war that was built and it throws javascript errors which makes IE display nothing.
In Firefox all examples are viewable except for the FormPanel and ToolBar - Menu.
How would I go about running the explorer demo in hosted mode?
Maybe then I could provide you with more information.
Thanks