Subversion Repositories eFlore/Applications.cel

Rev

Rev 411 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 411 Rev 596
Line 3... Line 3...
3
import org.tela_botanica.client.Util;
3
import org.tela_botanica.client.Util;
4
import org.tela_botanica.client.image.ImageModele;
4
import org.tela_botanica.client.image.ImageModele;
5
import org.tela_botanica.client.interfaces.Rafraichissable;
5
import org.tela_botanica.client.interfaces.Rafraichissable;
6
import org.tela_botanica.client.observation.ObservationModele;
6
import org.tela_botanica.client.observation.ObservationModele;
Line -... Line 7...
-
 
7
 
7
 
8
import com.google.gwt.core.client.GWT;
8
import com.google.gwt.http.client.Request;
9
import com.google.gwt.http.client.Request;
9
import com.google.gwt.http.client.RequestBuilder;
10
import com.google.gwt.http.client.RequestBuilder;
10
import com.google.gwt.http.client.RequestCallback;
11
import com.google.gwt.http.client.RequestCallback;
11
import com.google.gwt.http.client.RequestException;
12
import com.google.gwt.http.client.RequestException;
Line 227... Line 228...
227
		else
228
		else
228
		{
229
		{
229
			identifiant = iModele.getIdentifiant() ;
230
			identifiant = iModele.getIdentifiant() ;
230
		}
231
		}
Line -... Line 232...
-
 
232
 
-
 
233
		GWT.log(Configuration.getServiceBaseUrl()
-
 
234
				+ "/inventoryImageLink/"+identifiant+"/"+idImg+"/"+idObs);
-
 
235
		
-
 
236
		Window.alert(Configuration.getServiceBaseUrl()
-
 
237
				+ "/inventoryImageLink/"+identifiant+"/"+idImg+"/"+idObs);
231
 
238
		
232
		// et on envoie ça au serveur
239
		// et on envoie ça au serveur
233
		RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, Configuration.getServiceBaseUrl()
240
		RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, Configuration.getServiceBaseUrl()
Line 234... Line 241...
234
				+ "/inventoryImageLink/"+identifiant+"/"+idImg+"/"+idObs);
241
				+ "/inventoryImageLink/"+identifiant+"/"+idImg+"/"+idObs);