Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1307 → Rev 1308

/branches/v1.0-syrah/src/org/tela_botanica/client/vues/personne/PersonneForm.java
1265,16 → 1265,12
Radio rbEstDecedee = hmIdentite.getRadio("rbEstDecedee");
if (rbEstDecedee.getValue() == true) {
String decesLieu = (String) hmIdentite.getTextField("tfLieuDeces").getValue();
//Verifier que la date est soit JJ/MM/AAAA soit AAAA
Date dateDeces = null;
String valeurDateDeces = (String) hmIdentite.getTextField("tfDateDeces").getValue();
String valeurDateDeces = (String) hmIdentite.getTextField("tfDateDeces").getValue();
Debug.log("DANS FORM valeurDateDeces="+valeurDateDeces);
if (!UtilString.isEmpty(valeurDateDeces)) {
if (valeurDateDeces.matches("\\d{2}/\\d{2}/\\d{4}")) {
dateDeces = DateTimeFormat.getFormat("dd/MM/yyyy").parse(valeurDateDeces);