Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1232 → Rev 1233

/branches/v1.0-syrah/src/org/tela_botanica/client/vues/structure/StructureDetailVue.java
199,7 → 199,8
identificationParams.set("pays", pays);
identificationParams.set("latitude_longitude", latitudeLongitude);
identificationParams.set("tel", structure.getTelephoneFixe());
//FIXME identificationParams.set("tel", structure.getTelephoneFixe());
identificationParams.set("fax", structure.getFax());
identificationParams.set("courriel", structure.getCourriel());
identificationParams.set("web", web);
/branches/v1.0-syrah/src/org/tela_botanica/client/vues/structure/StructureForm.java
699,8 → 699,13
structureCollectee.setLatitude(latitudeChp.getValue());
structureCollectee.setLongitude(longitudeChp.getValue());
/* TODELETE
structureCollectee.setTelephoneFixe(telChp.getValue());
structureCollectee.setFax(faxChp.getValue());
*/
//FIXME personneSelectionnee.set("truk_telephone", hmIdentite.getChampMultiValeursMultiTypes("telephones").getValeurs());
structureCollectee.setCourriel(emailChp.getValue());
structureCollectee.setUrl(Structure.URL_SITE, urlChp.getValue());
784,8 → 789,12
latitudeChp.setValue(identification.getLatitude());
longitudeChp.setValue(identification.getLongitude());
/* TODELETE
telChp.setValue(identification.getTelephoneFixe());
faxChp.setValue(identification.getFax());
faxChp.setValue(identification.getFax());*/
//FIXME hmIdentite.getChampMultiValeurs("telephones").peupler(personne.getString("truk_telephone"));
emailChp.setValue(identification.getCourriel());
urlChp.setValue(identification.getUrl("WEB"));
/branches/v1.0-syrah/src/org/tela_botanica/client/vues/Formulaire.java
111,15 → 111,10
@Override
public void componentSelected(ButtonEvent ce) {
Debug.log("<$$$> BEGIN Formulaire.creerEcouteurValidation.componentSelected(ButtonEvent ce)");
String code = ((Button) ce.getComponent()).getData("code");
if (code.equals(FormulaireBarreValidation.CODE_BOUTON_VALIDER)) {
if (mediateur.getUtilisateur().isIdentifie()) {
Debug.log("<$$$> Formulaire.creerEcouteurValidation.componentSelected(ButtonEvent ce), clicBoutonvalidation = true;");
clicBoutonvalidation = true;
Debug.log("<$$$> Formulaire.creerEcouteurValidation.componentSelected(ButtonEvent ce), appel à soumettreFormulaire()");
soumettreFormulaire();
} else {
136,8 → 131,6
} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_REINITIALISER)) {
reinitialiserFormulaire();
}
Debug.log("<$$$> END CollectionForm.Formulaire.creerEcouteurValidation.componentSelected(ButtonEvent ce)");
}
};
158,25 → 151,17
return onglet;
}
 
public void controlerFermeture() {
Debug.log("<$$$> BEGIN Formulaire.controlerFermeture()");
public void controlerFermeture() {
// Si le bouton Valider a été cliqué, nous affichons la liste des structures
if (clicBoutonvalidation) {
fermerFormulaire();
}
else Debug.log("<$$$> clicBoutonvalidation==false");
Debug.log("<$$$> END Formulaire.controlerFermeture()");
}
}
public void fermerFormulaire() {
Debug.log("<$$$> BEGIN Formulaire.fermerFormulaire()");
 
clicBoutonvalidation = false;
panneauFormulaire.setEnabled(false);
mediateur.clicMenu(menuIdCourant);
Debug.log("<$$$> END Formulaire.fermerFormulaire()");
mediateur.clicMenu(menuIdCourant);
}
/** Méthode simplifiant la création de FormLayout.