Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 48 → Rev 49

/trunk/src/org/tela_botanica/client/vues/FormulaireSaisieObservationVue.java
13,7 → 13,6
import org.tela_botanica.client.observation.ObservationMediateur;
 
 
import com.google.gwt.user.client.Window;
import com.gwtext.client.core.EventCallback;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.core.ListenerConfig;
140,22 → 139,8
this.setPaddings(5) ;
/*
// creation du store
FieldDef defCommune = new StringFieldDef("commune");
FieldDef defDepartement = new StringFieldDef("departement");
FieldDef[] defTab = { defCommune, defDepartement};
RecordDef rd = new RecordDef(defTab);
store = new Store(rd);
//store.load();*/
 
 
commune=new ComboBox("Commune","commune",275 );
440,7 → 425,7
 
public void rafraichir(Object nouvelleDonnees, boolean repandreRaffraichissement) {
// si l'on a reçu une liste du referentiel commune
// si l'on a reçu une liste du referentiel commune (completion referentiel commune)
if(nouvelleDonnees instanceof ListeReferentielCommune)
{
480,7 → 465,7
}
// si l'on a reçu une liste du referentiel nom
// si l'on a reçu une liste du referentiel nom (complétion referentiel nom)
if(nouvelleDonnees instanceof ListeReferentielNom)
{
523,6 → 508,7
}
 
}