[fusion-users] Re: Dialog content fails to load

Kori Maleski kori.maleski at gmail.com
Tue Mar 9 10:49:45 EST 2010


Hi Mike,

My bad for not checking the trac before posting.

The ticket addresses the issue - I just handled it differently.

When accessing the Print widget dialog via localhost there are no issues.
When accessing via IIS7 on the server the content fails to load.

The error that is encountered is a 400 Bad Request when jxlib uses AJAX to
retrieve the content (determined with Firebug).
The error is due to the AJAX request doing a POST to an HTML page
(Print.html) instead of a GET.

If I save that page extension as Print.php, and change the reference in the
Print.js, it can then handle the POST and display properly.




Cheers,

Kori Maleski



On Tue, Mar 9, 2010 at 7:43 AM, Mike Adair <madair at dmsolutions.ca> wrote:

> Kori,
>
> Is this ticket related? http://trac.osgeo.org/fusion/ticket/351
> I'm not sure what you mean by saving Print.html to Print.php
>
> Mike
>
>
>
>
>
> Kori Maleski wrote:
>
>> Since the dialog is doing a Post to get the content, it results in a 400
>> Bad
>> Request for Firefox or Chrome.
>>
>> Saving the Print.html to Print.php allows the code to handle the Post.
>>
>> Now it works in the other browsers.
>>
>>
>
> --
>  Michael Adair
>  Senior Software Architect
>  DM Solutions Group Inc.
>
>  Office: (613) 565-5056 x26
>  madair at dmsolutions.ca
>  http://www.dmsolutions.ca
>  http://research.dmsolutions.ca
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20100309/b2f8028a/attachment.html


More information about the fusion-users mailing list