/branches/v1.0-syrah/src/org/tela_botanica/client/modeles/structure/Structure.java |
---|
159,6 → 159,13 |
this.set("ce_truk_type_public", typePublic); |
} |
public String getAbreviationProjet() { |
return renvoyerValeurCorrecte("_abreviationprojet_"); |
} |
public void setAbreviationProjet(String abreviation) { |
this.set("_abreviationprojet_", abreviation); |
} |
public String getAdresse() { |
return (String) renvoyerValeurCorrecte("adresse_01"); |
} |
/branches/v1.0-syrah/src/org/tela_botanica/client/modeles/structure/StructureAsyncDao.java |
---|
198,7 → 198,8 |
if (structureId != null) { |
postDonnees += "&cs_id_structure=" + URL.encodeComponent(structureId); |
} |
postDonnees += "&cpr_abreviation=" + URL.encodeComponent(((ProjetListe) Registry.get(RegistreId.PROJETS)).get(str.getIdProjet()).getAbreviation()); |
postDonnees += "&cpr_abreviation=" + URL.encodeComponent(str.getAbreviationProjet()); |
postDonnees += "&cs_ce_projet=" + URL.encodeComponent(str.getIdProjet()) + |
"&cs_ce_mere=" + URL.encodeComponent(str.getIdMere()) + |
"&cs_guid=" + URL.encodeComponent(str.getGuid()) + |
/branches/v1.0-syrah/src/org/tela_botanica/client/Mediateur.java |
---|
190,6 → 190,10 |
viewport.add(panneauOuest, regionOuest); |
} |
public String getFiltreProjet() { |
return panneauOuest.getFiltre().getProjet(); |
} |
private void creerPanneauCentral() { |
panneauCentre = new ContenuVue(this); |
/branches/v1.0-syrah/src/org/tela_botanica/client/vues/structure/StructureForm.java |
---|
277,6 → 277,7 |
if (fomulaireValide) { |
// Collecte des données du formulaire |
Structure structure = collecterStructureIdentification(); |
structure.setAbreviationProjet(mediateur.getFiltreProjet()); |
StructureConservation conservation = collecterStructureConservation(); |
StructureValorisation valorisation = collecterStructureValorisation(); |
collecterStructurePersonnel(); |
/branches/v1.0-syrah/src/org/tela_botanica/client/vues/FiltreVue.java |
---|
106,7 → 106,17 |
add(projetsCombo); |
} |
public String getProjet() { |
if (projetsCombo.getValeur() != null) { |
Projet projet = new Projet(projetsCombo.getValeur()); |
return projet.getAbreviation(); |
} else { |
return null; |
} |
} |
public void rafraichir(Object nouvellesDonnees) { |
// empty ... |
} |
} |
} |