Subversion Repositories eFlore/Applications.del

Rev

Rev 663 | Rev 690 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 663 Rev 685
Line 1... Line 1...
1
package org.tela_botanica.del.client.vues.plateformedetermination.formulairecommentaire;
1
package org.tela_botanica.del.client.composants.formulaires.formulairecommentaire;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import java.util.Date;
3
import java.util.Date;
4
 
4
 
Line 73... Line 73...
73
 
73
 
74
				if (!validerNomPrenom() || !validerCommentaire()) {
74
				if (!validerNomPrenom() || !validerCommentaire()) {
75
					return;
75
					return;
Line -... Line 76...
-
 
76
				}
-
 
77
 
-
 
78
				surValidationCommentaire();
-
 
79
			}
-
 
80
		});
-
 
81
	}
-
 
82
	
76
				}
83
	public void surValidationCommentaire() {
77
 
84
		
Line 78... Line 85...
78
				String texteCommentaire = vue.getCommentaire().getText();
85
		String texteCommentaire = vue.getCommentaire().getText();
Line 86... Line 93...
86
					possesseurDeCommentaires.getListeCommentaires().add(commentaire);
93
			possesseurDeCommentaires.getListeCommentaires().add(commentaire);
87
				}
94
		}
Line 88... Line 95...
88
 
95
 
89
				BusEvenementiel.getInstance().fireEvent(new EvenementAjoutCommentaire(commentaire));
96
		BusEvenementiel.getInstance().fireEvent(new EvenementAjoutCommentaire(commentaire));
90
			}
-
 
91
		});
-
 
Line 92... Line 97...
92
	}
97
	}
Line 93... Line 98...
93
 
98
 
94
	private boolean validerNomPrenom() {
99
	private boolean validerNomPrenom() {