Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 621 → Rev 622

/trunk/src/org/tela_botanica/client/vues/PersonneForm.java
22,6 → 22,7
import org.tela_botanica.client.modeles.ProjetListe;
import org.tela_botanica.client.modeles.Valeur;
import org.tela_botanica.client.modeles.ValeurListe;
import org.tela_botanica.client.util.UtilString;
 
import com.extjs.gxt.ui.client.event.Events;
import com.extjs.gxt.ui.client.Registry;
1542,9 → 1543,14
String strTfNom = ((TextField<String>) hmIdentite.get("tfNom")).getValue();
if ((strTfNom == null)||(strTfNom.trim().equals(""))) {
lstMessageErreur.add("Le nom n'a pas été saisi");
} else {
strTfNom = UtilString.ucFirst(strTfNom);
personneSelectionnee.set("nom", strTfNom);
}
String strTfPrenom = ((TextField<String>) hmIdentite.get("tfPrenom")).getValue();
personneSelectionnee.set("prenom", UtilString.ucFirst(strTfPrenom));
//Préparer les données
ComboBox combo = (ComboBox) hmIdentite.get("cbSexe");
Valeur valeur;