Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 432 → Rev 433

/trunk/src/org/tela_botanica/client/vues/FormPersonneVue.java
914,10 → 914,15
personneSelectionnee.set("id_personne", info.toString());
GWT.log("Ajout de la personne " + personneSelectionnee.getId(), null);
Info.display("Enregistrement", "Les modifications apportées à la personne " + personneSelectionnee.getId() + " ont été enregistrées");
Info.display("Enregistrement", "La personne a été ajoutée (PID:" + personneSelectionnee.getId() + ")");
//Passer en mode modifier
} else if (info.getType().equals("modification_personne")) {
Info.display("Enregistrement", "Les modifications apportées à la personne " + personneSelectionnee.getId() + " ont été correctement enregistrées.");
} else if (info.getType().equals("suppression_personne")) {
GWT.log(info.toString(), null);
Info.display("lk", info.getMessages().toString());
} else if (info.getDonnee(0) instanceof PersonneListe) {
1015,12 → 1020,12
// Sites
LinkedList<String> lUrl = (LinkedList<String>) personne.getChaineDenormaliseAsMapOrList("truk_url");
Iterator<String> itUrl = lUrl.iterator();
while (itUrl.hasNext()) {
String strUrl = itUrl.next();
ajouterUrl(strUrl);
if (lUrl!=null) {
Iterator<String> itUrl = lUrl.iterator();
while (itUrl.hasNext()) {
String strUrl = itUrl.next();
ajouterUrl(strUrl);
}
}
// Sexe
1040,18 → 1045,18
// Logos
TextArea taLogo = (TextArea) hmIdentite.get("taLogo");
LinkedList<String> lLogo = (LinkedList<String>) personne.getChaineDenormaliseAsMapOrList("truk_logo");
Iterator<String> itLogo = lLogo.iterator();
if (lLogo!=null) {
Iterator<String> itLogo = lLogo.iterator();
String strValeurLogo = "";
while (itLogo.hasNext()) {
strValeurLogo += itLogo.next() + "\n";
}
String strValeurLogo = "";
while (itLogo.hasNext()) {
strValeurLogo += itLogo.next() + "\n";
if (!strValeurLogo.trim().equals("")) {
taLogo.setRawValue(strValeurLogo);
}
}
if (!strValeurLogo.trim().equals("")) {
taLogo.setRawValue(strValeurLogo);
}
/*--------------------------------------------------
Adresse
---------------------------------------------------*/