[OpenLayers-Users] Problem with OpenLayers.Ajax.Request
Walter Lorenzetti
lorenzetti at faunalia.it
Fri Jul 11 09:19:14 EDT 2008
Alan Boudreault ha scritto:
> Hi Walter,
>
> I found this example in WFS.js :
>
> new OpenLayers.Ajax.Request(url,
>
> { method: 'post',
>
> postBody: data,
>
> onComplete: success,
>
> onFailure: failure
>
> }
>
> );
>
> Your method seems to be ok. I don't really know postBody must be
> structured.... but i suggest you to use Firebug (for FireFox) and put a
> breakpoint in the "request" method of OpenLayers.Ajax.Request class
> (OpenLayers-2.6/lib/OpenLayers/Ajax,js) and see if your params are well
> sent.
>
>
>
Thanks Alan,
I'll try to stop in firebug...
I think if a problem with this class
OpenLayers.Ajax.Request
beacause if I use jquery Ajax methods it works...
Bye
Walter
--
Please no .doc, .xls, .ppt, .dwg:
https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats
Walter Lorenzetti
email+jabber: lorenzetti at faunalia.it
www.faunalia.it
Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy
More information about the Users
mailing list