1121,14 → 1121,19 |
return valeur; |
} |
private void setValeurComboProjets() { |
if (projetsCombo.getStore() != null ) { |
if (mode.equals(Formulaire.MODE_MODIFIER) && publication != null) { |
projetsCombo.getCombo().setValue(projetsCombo.getStore().findModel("cpr_id_projet", publication.getIdProjet())); |
if (projetsCombo.getCombo().getStore() != null |
&& publication != null |
&& publication.getIdProjet() != null |
&& !UtilString.isEmpty(publication.getIdProjet())) { |
projetsCombo.chargerValeurInitiale(publication.getIdProjet(), "cpr_id_projet"); |
} |
} else if (mode.equals(Formulaire.MODE_AJOUTER)) { |
projetsCombo.getCombo().setValue(projetsCombo.getStore().findModel("cpr_id_projet", mediateur.getProjetId())); |
} else { |
projetsCombo.getCombo().setValue(null); |
} |
} |
} |
|
//-------------------// |
// Rafraichir //------------------------------------------------------------ |