Line 4... |
Line 4... |
4 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
4 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
5 |
import org.tela_botanica.client.modeles.objets.Configuration;
|
5 |
import org.tela_botanica.client.modeles.objets.Configuration;
|
6 |
import org.tela_botanica.client.observation.ObservationModele;
|
6 |
import org.tela_botanica.client.observation.ObservationModele;
|
Line 7... |
Line 7... |
7 |
|
7 |
|
8 |
import com.google.gwt.http.client.Request;
|
8 |
import com.google.gwt.http.client.Request;
|
9 |
import com.google.gwt.http.client.RequestBuilder;
|
9 |
import org.tela_botanica.client.util.RequestBuilderWithCredentials;
|
10 |
import com.google.gwt.http.client.RequestCallback;
|
10 |
import com.google.gwt.http.client.RequestCallback;
|
11 |
import com.google.gwt.http.client.RequestException;
|
11 |
import com.google.gwt.http.client.RequestException;
|
12 |
import com.google.gwt.http.client.Response;
|
12 |
import com.google.gwt.http.client.Response;
|
13 |
import com.google.gwt.http.client.URL;
|
13 |
import com.google.gwt.http.client.URL;
|
Line 65... |
Line 65... |
65 |
requete += criteres[i][0]+"="+URL.encodeComponent(criteres[i][1]) ;
|
65 |
requete += criteres[i][0]+"="+URL.encodeComponent(criteres[i][1]) ;
|
66 |
}
|
66 |
}
|
67 |
}
|
67 |
}
|
68 |
}
|
68 |
}
|
Line 69... |
Line 69... |
69 |
|
69 |
|
Line 70... |
Line 70... |
70 |
RequestBuilder rb = new RequestBuilder(RequestBuilder.GET,Configuration.getServiceBaseUrl()+"/InventoryObservationCount/"+utilisateur+"/?"+requete) ;
|
70 |
RequestBuilderWithCredentials rb = new RequestBuilderWithCredentials(RequestBuilderWithCredentials.GET,Configuration.getServiceBaseUrl()+"/InventoryObservationCount/"+utilisateur+"/?"+requete) ;
|
Line 71... |
Line 71... |
71 |
|
71 |
|