Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 217 → Rev 220

/trunk/src/org/tela_botanica/client/modeles/ListeObservationAsynchroneDAO.java
150,19 → 150,38
if(obs.getNomSaisi() != null) {
postData += "&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())
*/
if(obs.getNumeroNomenclaturalSaisi() != null) {
postData += "&num_nom_sel=" + obs.getNumeroNomenclaturalSaisi();
}
if(obs.getIdentifiantLocalite() != null) {
postData += "&id_location=" + obs.getIdentifiantLocalite();
}
if(obs.getLocalite() != null) {
postData += "&location=" + URL.encodeComponent(obs.getLocalite());
}
if(obs.getDate() != null) {
postData += "&date_observation=" + obs.getDate();
}
if(obs.getLieudit() != null) {
postData += "&lieudit="+ URL.encodeComponent(obs.getLieudit());
}
if(obs.getStation() != null) {
postData += "&station="+ URL.encodeComponent(obs.getStation());
}
if(obs.getMilieu() != null) {
postData += "&milieu="+ URL.encodeComponent(obs.getMilieu());
}
if(obs.getCommentaire() != null) {
postData += "&commentaire="+URL.encodeComponent(""+obs.getCommentaire());
}
/*+"&mots_cles="+URL.encodeComponent(obs.getMotsCles()) */;
 
try {
rb.sendRequest(postData, new RequestCallback() {