Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 203 → Rev 204

/trunk/src/org/tela_botanica/client/modeles/NombreObservationAsynchroneDAO.java
8,6 → 8,7
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
import com.google.gwt.http.client.URL;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONString;
import com.google.gwt.json.client.JSONValue;
55,7 → 56,7
{
requete += "&";
}
requete += criteres[i][0]+"="+criteres[i][1] ;
requete += criteres[i][0]+"="+URL.encodeComponent(criteres[i][1]) ;
}
}
}
/trunk/src/org/tela_botanica/client/modeles/ListeReferentielNomAsynchroneDAO.java
12,6 → 12,7
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
import com.google.gwt.http.client.URL;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONString;
76,7 → 77,7
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, observationModele.getConfig().getServiceBaseUrl()+"/NameSearch/"+critere) ;
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, observationModele.getConfig().getServiceBaseUrl()+"/NameSearch/"+URL.encodeComponent(critere)) ;
try {
/trunk/src/org/tela_botanica/client/modeles/ExportObservationsDAO.java
1,6 → 1,8
package org.tela_botanica.client.modeles;
 
import org.tela_botanica.client.observation.ObservationModele;
 
import com.google.gwt.http.client.URL;
import com.google.gwt.user.client.Window;
 
public class ExportObservationsDAO {
27,7 → 29,7
requete += "&";
}
requete += criteres[i][0]+"="+criteres[i][1] ;
requete += criteres[i][0]+"="+URL.encodeComponent(criteres[i][1]) ;
}
}
}
/trunk/src/org/tela_botanica/client/modeles/ListeReferentielCommuneAsynchroneDAO.java
11,6 → 11,7
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
import com.google.gwt.http.client.URL;
import com.google.gwt.json.client.JSONArray;
import com.google.gwt.json.client.JSONParser;
import com.google.gwt.json.client.JSONString;
75,7 → 76,7
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, observationModele.getConfig().getServiceBaseUrl() + "/LocationSearch/" + critere);
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, observationModele.getConfig().getServiceBaseUrl() + "/LocationSearch/" + URL.encodeComponent(critere));
try {