599,7 → 599,7 |
for (int i=0; i < personneSelection.size(); i++) { |
Personne courante = personneSelection.get(i); |
if (courante.getId().equals(getUtilisateurId())) { |
Info.display("Information", "Vous ne pouvez supprimer votre compte"); |
Info.display("Information", "Vous ne pouvez pas supprimer votre compte"); |
personneSelection.remove(courante); |
} |
} |
618,14 → 618,14 |
Button btn = ce.getButtonClicked(); |
|
if (btn.getText().equals(dialog.yesText)) { |
String idStr = "" ; |
String idPersonneSepareParVirgule = "" ; |
Iterator<Personne> itPersonne = personneSelection.iterator(); |
while (itPersonne.hasNext()) { |
Personne personneCourante = itPersonne.next(); |
idStr += personneCourante.getId(); |
idStr +=","; |
idPersonneSepareParVirgule += personneCourante.getId(); |
idPersonneSepareParVirgule +=","; |
} |
modele.supprimerPersonne(vue, idStr); |
modele.supprimerPersonne(vue, idPersonneSepareParVirgule); |
} |
} |
}; |