Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 177 → Rev 188

/trunk/src/org/tela_botanica/client/modeles/StructureAsyncDao.java
56,7 → 56,10
final JSONObject reponse = responseValue.isObject();
// Transformation du tableau JSON réponse en ListeInstitution
Structure structure = new Structure(reponse);
Information info = new Information("selection_structure", structure);
StructureConservation structureConservation = new StructureConservation(reponse);
Information info = new Information("selection_structure");
info.setDonnee(0, structure);
info.setDonnee(1, structureConservation);
r.rafraichir(info);
} else if (responseValue.isArray() != null) {
final JSONArray reponse = responseValue.isArray();
233,7 → 236,7
}
}
 
public void modifier(final Rafraichissable r, String utilisateurId, Structure str) {
public void modifier(final Rafraichissable r, String utilisateurId, Structure str, StructureConservation conservation) {
final String url = ((Configuration) Registry.get(RegistreId.CONFIG)).getServiceBaseUrl() +
"CoelStructureListe/" +
str.getId()
263,6 → 266,7
"&cs_courriel =" + URL.encodeComponent(str.getCourriel()) +
"&cs_truk_url =" + URL.encodeComponent(str.getUrl()) +
"&cs_nbre_personne =" + URL.encodeComponent(str.getNbrePersonne()) +
"&csc_mark_formation =" + URL.encodeComponent(conservation.getFormationMark()) +
"";
try {