[OpenLayers-Users] loadURL: abort

Guillaume Sueur guillaume.sueur at neogeo-online.net
Tue Feb 19 16:49:39 EST 2008


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
>>>
> 

-- 
Guillaume SUEUR
Expert SIG et OpenSource
NEOGEO
46 RUE MATABIAU
31000 TOULOUSE
06 74 91 95 20
Site web : http://www.neogeo-online.net




More information about the Users mailing list