[Users] Error with printProvider
Ralph Dell
RDell at CatawbaCountyNC.gov
Tue Aug 30 14:14:01 CEST 2011
That smells like a proxy problem. Take a look at Ext.Ajax.Overrides for the solution
http://geoext.org/lib/overrides/override-ext-ajax.html
Ralph Dell
From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On Behalf Of Robert Buckley
Sent: Tuesday, August 30, 2011 4:39 AM
To: users at openlayers.org; users at geoext.org
Subject: [Users] Error with printProvider
Hi,
I am getting this error is my app and can´t pin-point the source
uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: http://www.openlayers.org/api/2.10/OpenLayers.js :: :: line 1188" data: no]
// The printProvider that connects us to the print service
var printProvider = new GeoExt.data.PrintProvider({
method: "POST", // "POST" recommended for production use
capabilities: printCapabilities, // from the info.json script in the html
customParams: {
mapTitle: "Zweckverband Großraum Braunschweig",
comment: "Windenergieanlagenkataster"
}
});
If I change the method to post, then I get a different error regarding the length of the url sent.
has anyone had this before?
yours,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110830/fcd3b36d/attachment-0001.htm
More information about the Users
mailing list