Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 978 → Rev 979

/trunk/src/org/tela_botanica/client/vues/personne/PersonneForm.java
86,7 → 86,7
//hmIdentite[...] référence par une chaine de caractère tous les composants de l'onglet Identite
private HashMapComposants hmIdentite = new HashMapComposants();
private HashMapComposants hmAdresse = new HashMapComposants();
private HashMap<String, Widget>hmInfosNat = new HashMap<String, Widget>();
private HashMapComposants hmInfosNat = new HashMapComposants();
private HashMap<String, Valeur> hmCbSelectionnee = new HashMap();
private FormData fd100 = new FormData("95%");
598,9 → 598,18
public void creerComposantsInfosNat() {
FormLayout fl = new FormLayout();
fl.setLabelAlign(LabelAlign.TOP);
FieldSet fsInfosNat = new FieldSet();
fsInfosNat.setLayout(fl);
fsInfosNat.setTitle("Informations Naturaliste");
TextArea taBiographie = new TextArea();
taBiographie.setFieldLabel("Vie et renommée de l'auteur");
taBiographie.setWidth("400");
taBiographie.setName("biographie");
fsInfosNat.add(taBiographie);
ChampMultiValeurs specialite = new ChampMultiValeurs(i18nC.personneSpecialite());
fsInfosNat.add(specialite);
hmInfosNat.put("specialite", specialite);
609,7 → 618,6
recolte.initialiserType("pays");
hmInfosNat.put("recolte", recolte);
fsInfosNat.add(recolte);
tiInfosNat.add(fsInfosNat);
}
899,9 → 907,9
* Infos naturalistes
* -----------------------------------------------------*/
((ChampMultiValeurs) hmInfosNat.get("specialite")).peupler(personne.getString("ce_truk_specialite"));
hmInfosNat.getChampMultiValeurs("specialite").peupler(personne.getString("ce_truk_specialite"));
String tr = personne.getString("truk_recolte");
((ChampMultiValeursMultiTypes) hmInfosNat.get("recolte")).peupler(tr);
hmInfosNat.getChampMultiValeursMultiTypes("recolte").peupler(tr);
gererEtatActivationBouton();
}