Subversion Repositories eFlore/Applications.coel

Rev

Rev 612 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 612 Rev 632
Line 245... Line 245...
245
			SERVICE_NOM + "/" + structureId;
245
			SERVICE_NOM + "/" + structureId;
Line 246... Line 246...
246
	
246
	
Line 247... Line 247...
247
		RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, url);
247
		RequestBuilder rb = new RequestBuilder(RequestBuilder.POST, url);
248
		
-
 
-
 
248
		
249
		String postDonneesEncodees = construirePost(utilisateurId, structureId, str, conservation, valorisation);
249
		String postDonneesEncodees = construirePost(utilisateurId, structureId, str, conservation, valorisation);
250
		
250
		GWT.log(postDonneesEncodees, null);
Line 251... Line 251...
251
		try {
251
		try {
252
			rb.sendRequest(postDonneesEncodees, new RequestCallback() {
252
			rb.sendRequest(postDonneesEncodees, new RequestCallback() {
Line 356... Line 356...
356
				"&csc_truk_acquisition_traitement_poison=" + URL.encodeComponent(conservation.getAcquisitionTraitementPoison()) +
356
				"&csc_truk_acquisition_traitement_poison=" + URL.encodeComponent(conservation.getAcquisitionTraitementPoison()) +
357
				"&csc_truk_acquisition_traitement_insecte=" + URL.encodeComponent(conservation.getAcquisitionTraitementInsecte());
357
				"&csc_truk_acquisition_traitement_insecte=" + URL.encodeComponent(conservation.getAcquisitionTraitementInsecte());
358
		}
358
		}
359
		if (valorisation != null) {
359
		if (valorisation != null) {
360
			if (structureId != null) {
360
			if (structureId != null) {
361
				postDonnees += "&csc_id_structure=" + URL.encodeComponent(structureId);
361
				postDonnees += "&csv_id_structure=" + URL.encodeComponent(structureId);
362
			}
362
			}
363
			postDonnees += "&csv_mark_action=" + URL.encodeComponent(valorisation.getAction()) +
363
			postDonnees += "&csv_mark_action=" + URL.encodeComponent(valorisation.getAction()) +
364
				"&csv_truk_action=" + URL.encodeComponent(valorisation.getActionInfo()) +
364
				"&csv_truk_action=" + URL.encodeComponent(valorisation.getActionInfo()) +
365
				"&csv_publication=" + URL.encodeComponent(valorisation.getPublication()) +
365
				"&csv_publication=" + URL.encodeComponent(valorisation.getPublication()) +
366
				"&csv_collection_autre=" + URL.encodeComponent(valorisation.getCollectionAutre()) +
366
				"&csv_collection_autre=" + URL.encodeComponent(valorisation.getCollectionAutre()) +