[OpenLayers-Users] Users Digest, Vol 17, Issue 25

XinGang Li slinavlee at gmail.com
Wed Feb 20 20:10:29 EST 2008


May be there is some problem with OpenLayers.Ajax in truck version.

1.
OpenLayers.loadURL("proxy.py?nom=" + f.attributes["nom"], "", null,
getDetails);

The way will merge the parameters of current window url.

2.
OpenLayers.loadURL("proxy.py", "nom=" + f.attributes["nom"], null,
getDetails);

This way will lost the parameters.


> hmm, just tried :
> AjaxTransfert = OpenLayers.loadURL("proxy.py?nom=" +
> f.attributes["nom"],"",null,getDetails);
>
> AjaxTransfert is always undefined as the loadURL function doesn't seem
> to return anything.
>
>
>
> Guillaume Sueur a ?crit :
> > yes, true, it's loadURL, little confusion with python urlopen, sorry !
> > I'm testing abort right away.
> >
> > Thanks
> >
> > Eric Lemoine a ?crit :
> >> Hi Guillaume. Are you talking about loadURL?  I can't check it right
> >> now (am on a mobile) but iirc you can call abort on the object
> >> returned by loadURL. Eric
> >>
> >> 2008/2/19, Guillaume Sueur <guillaume.sueur at neogeo-online.net>:
> >>> Hi,
> >>>
> >>> Is there a way to stop an OpenURL method before having any response ?
> >>> I've tried several ways from the docs :
> >>> request.transport.abort(); for example, but without success.
> >>>
> >>> Any hint ?
> >>>
> >>> By the way, I discovered there were two different versions of the api
> >>> doc online :
> >>> http://dev.openlayers.org/docs/files/OpenLayers-js.html
> >>> http://dev.openlayers.org/apidocs/files/OpenLayers-js.html
> >>>
> >>> The main page aims to the second one, which is less documented than
> the
> >>> first. OpenURL for instance is not documented in
> >>> http://dev.openlayers.org/apidocs/files/OpenLayers-js.html
> >>>
> >>> Is that done on purpose ?
> >>>
> >>> Thanks,
> >>>
> >>> Guillaume
> >>>
> >>> _______________________________________________
> >>> Users mailing list
> >>> Users at openlayers.org
> >>> http://openlayers.org/mailman/listinfo/users
> >>>
> >
>



-- 
Li XinGang
EMail: slinavlee at gmail.com
Blog:   avlee.cnblogs.com
Site:    www.mapboost.org.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080221/ff44ec18/attachment.html


More information about the Users mailing list