<span class="gmail_quote"><br></span>May be there is some problem with OpenLayers.Ajax in truck version.<br><br>1.<span class="q"><br>OpenLayers.loadURL("proxy.py?nom=" + f.attributes["nom"], "", null, getDetails);<br>
<br></span>The way will merge the parameters of current window url.<br>
<br>2.<span class="q"><br>OpenLayers.loadURL("proxy.py", "nom=" + f.attributes["nom"], null, getDetails);<br><br></span>This way will lost the parameters.<div><span class="e" id="q_118398aa13934219_5"><br>
<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> hmm, just tried :<br> AjaxTransfert = OpenLayers.loadURL("proxy.py?nom=" +<br> f.attributes["nom"],"",null,getDetails);<br> <br> AjaxTransfert is always undefined as the loadURL function doesn't seem<br>
to return anything.<br> <br> <br> <br> Guillaume Sueur a ?crit :<br> > yes, true, it's loadURL, little confusion with python urlopen, sorry !<br> > I'm testing abort right away.<br> ><br> > Thanks<br>
><br> > Eric Lemoine a ?crit :<br> >> Hi Guillaume. Are you talking about loadURL? I can't check it right<br> >> now (am on a mobile) but iirc you can call abort on the object<br> >> returned by loadURL. Eric<br>
>><br> >> 2008/2/19, Guillaume Sueur <<a href="mailto:guillaume.sueur@neogeo-online.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">guillaume.sueur@neogeo-online.net</a>>:<br>
>>> Hi,<br> >>><br> >>> Is there a way to stop an OpenURL method before having any response ?<br>
>>> I've tried several ways from the docs :<br> >>> request.transport.abort(); for example, but without success.<br> >>><br> >>> Any hint ?<br> >>><br> >>> By the way, I discovered there were two different versions of the api<br>
>>> doc online :<br> >>> <a href="http://dev.openlayers.org/docs/files/OpenLayers-js.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.openlayers.org/docs/files/OpenLayers-js.html</a><br>
>>> <a href="http://dev.openlayers.org/apidocs/files/OpenLayers-js.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.openlayers.org/apidocs/files/OpenLayers-js.html</a><br>
>>><br> >>> The main page aims to the second one, which is less documented than the<br> >>> first. OpenURL for instance is not documented in<br> >>> <a href="http://dev.openlayers.org/apidocs/files/OpenLayers-js.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.openlayers.org/apidocs/files/OpenLayers-js.html</a><br>
>>><br> >>> Is that done on purpose ?<br> >>><br> >>> Thanks,<br> >>><br> >>> Guillaume<br> >>><br> >>> _______________________________________________<br>
>>> Users mailing list<br> >>> <a href="mailto:Users@openlayers.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Users@openlayers.org</a><br> >>> <a href="http://openlayers.org/mailman/listinfo/users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openlayers.org/mailman/listinfo/users</a><br>
>>><br> ><br></blockquote></div><br></span></div><br>-- <br>Li XinGang<br>EMail: <a href="mailto:slinavlee@gmail.com">slinavlee@gmail.com</a><br>Blog: <a href="http://avlee.cnblogs.com">avlee.cnblogs.com</a><br>
Site: <a href="http://www.mapboost.org.cn">www.mapboost.org.cn</a>