|
From: Jon B. <jon...@go...> - 2010-06-21 15:09:15
|
Hi guys, thanks for the swift replies.
I don't think I've got a problem with SmartGWT after all, GWT-Openlayers has
just decided to break for me! I've started a new Eclipse project and now
can't get it working at all. I have no idea what's changed, but I get the
following error:
16:07:56.995 [ERROR] [testgwt] Unable to load module entry point class
org.test.client.Testgwt (see associated exception for details)
com.google.gwt.core.client.JavaScriptException: (NOT_FOUND_ERR):
NOT_FOUND_ERR: DOM Exception 8
code: 8
__gwt_ObjectId: 15
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
SECURITY_ERR: 18
NETWORK_ERR: 19
ABORT_ERR: 20
URL_MISMATCH_ERR: 21
QUOTA_EXCEEDED_ERR: 22
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.Node$.appendChild$(Node.java)
at com.google.gwt.user.client.DOM.appendChild(DOM.java:60)
at com.google.gwt.user.client.ui.ComplexPanel.add(ComplexPanel.java:90)
at
com.google.gwt.user.client.ui.AbsolutePanel.add(AbsolutePanel.java:75)
at org.test.client.Testgwt.onModuleLoad(Testgwt.java:56)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:369)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
at java.lang.Thread.run(Thread.java:619)
On 21 June 2010 14:43, "Cerávolo, Rafael V.B." <raf...@gm...>wrote:
> Hi Jon,
>
> I'm using SmartGWT with OpenLayers and it works (almost) fine!
>
> I'm using with a VLayout, but I suppose it will work with HLayout as well.
>
> I'm doing this:
>
> Layout v_layoutMapa = new VLayout();
> this.addMember(v_layoutMapa);
> v_layoutMapa.addMember(m_mapWidget);
> v_layoutMapa.setWidth100();
> v_layoutMapa.setHeight("*");
>
> where "this" refers to a class that inherits from VLayout.
>
> But you will have some issues using with SmartGwt (well, actually, I
> didn't tested these issues without Smart to see if it is a SmartGwt problem
> or a OpenLayers problem):
>
> - When showing maps inside Tabs (the main tabs like in the SmartGwt
> showcase), switching from a tab with a map to another tab, the Features
> added to the map keep visible in the other tabs!!! (I solved this by hiding
> the map when the OnTabChange event is triggered)
> - Sometimes a "ghost" feature (duplicated from another existing
> feature) appears on the map when dragging it. Using a Timer for delaying the
> draw of the feature solved in some cases, but this problem is still not
> solved 100%.
>
> Regards,
> Rafael Ceravolo
>
>
>
>
> On 21/06/2010 08:16, Jon Britton wrote:
>
> Hi,
>
> I'm having trouble getting OpenLayers to work with SmartGWT. I've got a
> Smart GWT HLayout and I'm trying to add a MapWidget to it, but the map
> doesn't appear at all and I get no errors.
>
> Has anybody else been successful in using GWT-OpenLayers and SmartGWT
> together?
>
> Thanks,
>
> Jon
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
>
>
> _______________________________________________
> Gwt-openlayers-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users
>
>
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit. See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Gwt-openlayers-users mailing list
> Gwt...@li...
> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users
>
>
|