I want to use the Measurement widget
but it is not included in the stable version.

I tried the unstable version but it generates
an error (for the same config which the stable works
fine) with error message:

window[objectType] is not a constructor
var newObject = new window[objectType](configNode, this);

The full error stack is:
createObject(mappane)ModelBase.js (line 385)
loadObjects("mb:widgets/*")ModelBase.js (line 405)
parseConfig(Object listeners=[0] values=[0] async=true)ModelBase.js (line 416)
ModelBase(context, Object doc=document url=config.xml)ModelBase.js (line 457)
Context(context, Object doc=document url=config.xml)Context.js (line 27)
createObject(context)ModelBase.js (line 385)
loadObjects("mb:models/*")ModelBase.js (line 405)
parseConfig(Object doc=document url=config.xml)ModelBase.js (line 418)
mapbuilderInit()Mapbuilder.js (line 233)
[Break on this error]

What could be wrong?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to