/trunk/src/org/tela_botanica/client/vues/personne/PersonneListeVue.java |
---|
91,7 → 91,7 |
lstColumns.add(new ColumnConfig("fmt_nom_complet", "Nom Complet", 200)); |
lstColumns.add(new ColumnConfig("code_postal", "Code postal", 100)); |
lstColumns.add(new ColumnConfig("ville", "Ville", 100)); |
lstColumns.add(new ColumnConfig("courriel_princ", "Courriel", 200)); |
lstColumns.add(new ColumnConfig("_courriel_princ_", "Courriel", 200)); |
lstColumns.get(0).setHidden(true); |
lstColumns.get(1).setHidden(true); |
/trunk/src/org/tela_botanica/client/vues/personne/PersonneDetailVue.java |
---|
105,7 → 105,7 |
Params enteteParams = new Params(); |
enteteParams.set("nom", (String) personne.get("fmt_nom_complet")); |
enteteParams.set("mail", (String) personne.get("courriel_princ")); |
enteteParams.set("mail", (String) personne.getCourrielPrinc()); |
LinkedList lstLogos = (LinkedList) personne |
.getChaineDenormaliseAsMapOrList("truk_logo"); |
/trunk/src/org/tela_botanica/client/modeles/personne/Personne.java |
---|
29,7 → 29,7 |
public Personne(JSONObject personne) { |
initialiserModele(personne); |
//Ajout du champ courriel principal |
this.set("courriel_princ", this.getInfoDenormaliseParPosition(this.renvoyerValeurCorrecte("truk_courriel"), 1)); |
this.setCourrielPrinc(this.getInfoDenormaliseParPosition(this.renvoyerValeurCorrecte("truk_courriel"), 1)); |
} |
@Override |
280,4 → 280,13 |
public void setParametre(String parametre) { |
this.set("parametre", parametre); |
} |
} |
public void setCourrielPrinc(String courriel) { |
this.set("_courriel_princ_", courriel); |
} |
public String getCourrielPrinc() { |
return (String) this.get("_courriel_princ_"); |
} |
} |