Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 258 → Rev 259

/trunk/src/org/tela_botanica/client/modeles/ObservationAsynchroneDAO.java
55,9 → 55,18
RequestBuilder rb = new RequestBuilder(RequestBuilder.POST,Configuration.getServiceBaseUrl()+ "/Inventory/") ;
String postData = "identifiant="
+ utilisateur + "&nom_sel=" + URL.encodeComponent(obs.getNomSaisi()) + "&num_nom_sel=" + obs.getNumeroNomenclaturalSaisi()
+ "&location=" + URL.encodeComponent(obs.getLocalite()) + "&id_location=" + obs.getIdentifiantLocalite() + "&date_observation=" + obs.getDate()
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit()) + "&station="+ URL.encodeComponent(obs.getStation()) +"&milieu="+ URL.encodeComponent(obs.getMilieu()) + "&commentaire="+ URL.encodeComponent(""+obs.getCommentaire()) ;
+ utilisateur
+"&nom_sel="+URL.encodeComponent(obs.getNomSaisi())
+"&num_nom_sel="+obs.getNumeroNomenclaturalSaisi()
+"&location="+URL.encodeComponent(obs.getLocalite())
+"&id_location="+obs.getIdentifiantLocalite()
+"&date_observation=" + obs.getDate()
+"&lieudit="+ URL.encodeComponent(obs.getLieudit())
+"&station="+URL.encodeComponent(obs.getStation())
+"&milieu="+URL.encodeComponent(obs.getMilieu())
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());;
 
try {
105,8 → 114,9
+ "&lieudit="+ URL.encodeComponent(obs.getLieudit())
+ "&station="+ URL.encodeComponent(obs.getStation())
+"&milieu="+ URL.encodeComponent(obs.getMilieu())
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())/*+"&mots_cles="+URL.encodeComponent(obs.getMotsCles()) */;
 
+"&commentaire="+URL.encodeComponent(""+obs.getCommentaire())
+"&coord_x="+URL.encodeComponent(""+obs.getCoordonneeX())
+"&coord_y="+URL.encodeComponent(""+obs.getCoordonneeY());
try {