Dojo error messages

We’re using Dojo 1.6 bundled into Spring Roo for one of our projects. At some point I’ve decided that it would be nice to present our data in the form of a tree. Dijit components already bundle one of these.

Trying to work with ItemFileReadStore I started getting:

error loading root children:
TypeError: this._arrayOfTopLevelItems is undefined
(307 out of range 14)

Investigations have shown that ItemReadFileStore is pretty picky about JSON it can supports. And your valid JSON may just don’t work with it. And yes, the error message is rqeallyweird.

This entry was posted in Development and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s