Hello, I've got problems to load the config file in a Mozilla browser, I'm using a Tomcat server with a Java Restlet. In the error window of my browser the following two messages appear while loading the page,
error: modelNode has no properties sourcefile: http://localhost:8080/mapbuilder/lib/model/Config.js line: 125 error: config has no properties sourcefile: http://localhost:8080/mapbuilder/lib/Mapbuilder.js line: 299 The problem seems to be, that the loading of the config object doesn't work. As already discussed in another topic, there must be an error in the config, so here's the content <?xml version="1.0" encoding="utf-8" standalone="no"?> <MapbuilderConfig version="1.0.0" id="basicMap" xmlns="http://mapbuilder.sourceforge.net/mapbuilder" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://mapbuilder.sourceforge.net/mapbuilder /mapbuilder/lib/schemas/config.xsd"> <models> <Context id="mainMap"> <defaultModelUrl>context.xml</defaultModelUrl> <widgets> <MapPane id="mainMapWidget"> <htmlTagId>mainMapPane</htmlTagId> <mapContainerId>mainMapContainer</mapContainerId> </MapPane> <AoiBoxDHTML id="aoiBoxMain"> <htmlTagId>mainMapPane</htmlTagId> <mapContainerId>mainMapContainer</mapContainerId> <lineColor>#FF0000</lineColor> <lineWidth>2</lineWidth> <crossSize>15</crossSize> </AoiBoxDHTML> <Legend id="legend"/> <Loading2 id="loading2"> <mapContainerId>mainMapContainer</mapContainerId> </Loading2> </widgets> <tools> <AoiMouseHandler id="mainAoi"/> <DragPanHandler id="mainDragPan"> <enabled>false</enabled> </DragPanHandler> </tools> </Context> </models> <widgets> <ZoomIn id="zoomIn"> <buttonBar>mainButtonBar</buttonBar> <targetModel>mainMap</targetModel> <mouseHandler>mainAoi</mouseHandler> <class>RadioButton</class> <selected>true</selected> <enabledSrc>/images/ZoomInEnable.png</enabledSrc> <disabledSrc>/images/ZoomInDisable.png</disabledSrc> </ZoomIn> <ZoomOut id="zoomOut"> <buttonBar>mainButtonBar</buttonBar> <targetModel>mainMap</targetModel> <mouseHandler>mainAoi</mouseHandler> <class>RadioButton</class> <enabledSrc>/images/ZoomOutEnable.png</enabledSrc> <disabledSrc>/images/ZoomOutDisable.png</disabledSrc> </ZoomOut> <DragPan id="dragPan"> <buttonBar>mainButtonBar</buttonBar> <targetModel>mainMap</targetModel> <mouseHandler>mainDragPan</mouseHandler> <class>RadioButton</class> <enabledSrc>/images/PanEnable.png</enabledSrc> <disabledSrc>/images/PanDisable.png</disabledSrc> </DragPan> <Reset id="reset"> <buttonBar>mainButtonBar</buttonBar> <targetModel>mainMap</targetModel> <class>Button</class> <disabledSrc>/images/ResetExtentDisable.png</disabledSrc> </Reset> </widgets> <skinDir>\mapbuilder\lib\skin\default</skinDir> <!-- relative to the skin dir --> </MapbuilderConfig> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
