Subversion Repositories eFlore/Applications.coel

Rev

Rev 705 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 705 Rev 716
Line 54... Line 54...
54
	private String idProjet = "";
54
	private String idProjet = "";
Line 55... Line 55...
55
	
55
	
56
	private PersonneListe listePersonneAuteur = null; 
56
	private PersonneListe listePersonneAuteur = null; 
57
	private ListStore<Personne> storeAuteurs = null;
57
	private ListStore<Personne> storeAuteurs = null;
-
 
58
	private ArrayList<ComboBox<Personne>> listeAuteurs = null;
Line 58... Line 59...
58
	private ArrayList<ComboBox<Personne>> listeAuteurs = null;
59
	private String idAuteurs = "";
59
	
60
	
60
	private TextField<String> nomArticle = null;
61
	private TextField<String> nomArticle = null;
Line 266... Line 267...
266
				}
267
				}
267
				listeAuteurInitialisee = true;
268
				listeAuteurInitialisee = true;
268
			}
269
			}
Line 269... Line 270...
269
			
270
			
-
 
271
			if (nouvellesInfos.getType().equals("publication_valide")) {
270
			if (nouvellesInfos.getType().equals("publication_valide")) {
272
				validationPublication = true;
271
				Window.alert("Ajout de publication terminé ! "+nouvellesInfos.getDeboguage(0));
273
				idPublication = (String)nouvellesInfos.getDonnee(0);
272
				validationPublication = true;		
274
				mediateur.ajouterAuteurPublication(this,idAuteurs,"2360",idPublication);
Line 273... Line 275...
273
			}
275
			}
274
				
276
				
275
			if (nouvellesInfos.getType().equals("auteur_valide")) {
277
			if (nouvellesInfos.getType().equals("auteur_valide")) {
Line 298... Line 300...
298
		
300
		
Line 299... Line 301...
299
		String erreurs = "";
301
		String erreurs = "";
300
		
302
		
-
 
303
		if(idAuteur == null || idAuteur.equals("")) {
-
 
304
			erreurs += "Veuillez entrer au moins un auteur ! ";
301
		if(idAuteur == null || idAuteur.equals("")) {
305
		} else {
Line 302... Line 306...
302
			erreurs += "Veuillez entrer au moins un auteur ! ";
306
			idAuteurs = idAuteur;
303
		}
307
		}
304
		
308