Subversion Repositories eFlore/Applications.coel

Rev

Rev 345 | Rev 349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 345 Rev 347
Line 296... Line 296...
296
					Dialog dialog = (Dialog) ce.component;
296
					Dialog dialog = (Dialog) ce.component;
297
					Button btn = dialog.getButtonPressed();  
297
					Button btn = dialog.getButtonPressed();  
Line 298... Line 298...
298
 
298
 
299
					if (btn.getText().equals(dialog.yesText)) {
299
					if (btn.getText().equals(dialog.yesText)) {
300
						String idStr = "" ;
300
						String idStr = "" ;
-
 
301
						Iterator<Personne> itPersonne = personneSelection.iterator();
-
 
302
						while (itPersonne.hasNext()) {
301
						for(int i = 0 ; i < personneSelection.size() ; i++) {
303
							Personne personneCourante = itPersonne.next();
-
 
304
							idStr += personneCourante.getId();
-
 
305
							
-
 
306
							if (itPersonne.hasNext())	{
-
 
307
								idStr +=", ";
302
							idStr += personneSelection.get(i).getId()+"," ; 
308
							}
303
						}
309
						}
304
						modele.supprimerPersonne(vue, idStr);  
310
						modele.supprimerPersonne(vue, idStr);  
305
					}
311
					}
306
				}
312
				}