[Users] Print problem with POST

Espen Isaksen espen.isaksen at gmail.com
Tue Dec 13 22:40:34 CET 2011


I had actually already tried that. However, I tested it once more and
it still fails.

Do I have to set OpenLayers.ProxyHost as well? Even though I am not
actually proxying anything?

Espen



On Tue, Dec 13, 2011 at 10:04 PM, Ralph Dell <RDell at catawbacountync.gov> wrote:
> That is the one question on this list I can answer with certainty.
> Including  Ext.Ajax Overrides
> http://geoext.org/lib/overrides/override-ext-ajax.html
> In you geoext build http://localhost/GeoExt-1.0/docs/builder/v1.0.html
> Will fix you problem
>
> Ralph Dell
>
> -----Original Message-----
> From: users-bounces at geoext.org [mailto:users-bounces at geoext.org] On
> Behalf Of Espen Isaksen
> Sent: Tuesday, December 13, 2011 1:12 PM
> To: users at geoext.org
> Subject: [Users] Print problem with POST
>
> Hei!
>
> I am having a problem with printing from GeoExt using POST. As long as
> I am aware of this should not be a proxy problem as many other have
> experienced.
>
> Everything runs fine when I run GET:
> http://www.turkompisen.no/beta/turkompisen_get/
>
> But fails when I run POST:
> http://www.turkompisen.no/beta/turkompisen_post/
>
> The reason it fails is because it tries to get the finished PDF on
> localhost instead of turkompisen.no(my domain). When running GET it
> fetches the PDF from turkompisen.no. Try the two examples above. The
> only change is this:
> method: "GET"
> in the printProvider.
>
> I get the specs for the print server with this script tag:
> <script type="text/javascript"
> src="http://www.turkompisen.no/print/pdf/info.json?var=printCapabilities
> &url=http://www.turkompisen.no/print/pdf"></script>
>
> I do not understand what makes the difference?
>
> Espen
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list