1

I am using the ArcGIS API for JavaScript in my application which is being developed using IBM WebSphere Portal.

When I integrate ESRI with my HTML code it works fine but when I load the ArcGIS JavaScript API which also loads Dojo which is heavily used in my application breaks.

My application was developed with Dojo 1.7 but since i am using ArcGIS JavaScript API version 3.6 which loads Dojo 1.8.3 I find there are a few issues. Sometimes things work and sometimes everything fails.

I get 'this.navigationManager' is null or not an object in IE and Firefox, while on Chrome I get a different issue pointing to init.js.

I am not able to figure out what could be the issue. Does anyone have any ideas?

blah238
35.9k8 gold badges97 silver badges204 bronze badges
asked Sep 14, 2013 at 15:32
3
  • I'm not familiar enough with the issue to provide an answer but these pages may help you: The Dojo Loader - Relocating Module Namespaces, Multiple Versions of Dojo on a Page Commented Sep 14, 2013 at 21:26
  • Can you clarify your second sentence? I am not following you there. Commented Sep 14, 2013 at 21:35
  • I get 'undefined' is null or not an object init.js, line 15 character 94901 whenever i load my portal pages i don't know what could be the issue Commented Sep 15, 2013 at 13:31

1 Answer 1

1

changes to Dojo's loader in more recent versions of their API have made loading multiple versions and remapping namespaces substantially more difficult.

we have requested that the Esri JS API dev team put together a sample demonstrating how to do this post Dojo 1.7.x, but for the time being i'd try and avoid remapping the dojo namespace that comes bundled.

answered Sep 17, 2013 at 17:53

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.