Subversion Repositories eFlore/Applications.coel

Rev

Rev 730 | Rev 776 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 730 Rev 731
Line 722... Line 722...
722
				cbTelephone.setValue(liste.get(1));
722
				cbTelephone.setValue(liste.get(1));
723
			} else if (listeValeurs.getId().equals(config.getListeId("pays")))	{
723
			} else if (listeValeurs.getId().equals(config.getListeId("pays")))	{
724
				remplirCombobox("cbPays", liste, "hmAdresse");
724
				remplirCombobox("cbPays", liste, "hmAdresse");
725
			} else if (listeValeurs.getId().equals(config.getListeId("region")))	{
725
			} else if (listeValeurs.getId().equals(config.getListeId("region")))	{
726
				remplirCombobox("cbRegion", liste, "hmAdresse");
726
				remplirCombobox("cbRegion", liste, "hmAdresse");
727
				((ComboBox<Valeur>) hmAdresse.get("cbRegion")).setVisible(true);
727
				((ComboBox) hmAdresse.get("cbRegion")).setVisible(true);
728
			}
728
			}
729
		} else if (nouvellesDonnees instanceof ProjetListe) {
729
		} else if (nouvellesDonnees instanceof ProjetListe) {
730
			ProjetListe projets = (ProjetListe) nouvellesDonnees;
730
			ProjetListe projets = (ProjetListe) nouvellesDonnees;
731
			List<Projet> liste = projets.toList();
731
			List<Projet> liste = projets.toList();
Line 732... Line 732...
732
			
732
			
733
			ComboBox<Projet> cbProjets = (ComboBox<Projet>) hmIdentite.get("cbProjets");
733
			ComboBox cbProjets = (ComboBox) hmIdentite.get("cbProjets");
734
			ListStore<Projet> storeProjets= cbProjets.getStore();
734
			ListStore<Projet> storeProjets= cbProjets.getStore();
735
			storeProjets.removeAll();
735
			storeProjets.removeAll();
736
			storeProjets.add(liste);
736
			storeProjets.add(liste);
737
			cbProjets.setStore(storeProjets);
737
			cbProjets.setStore(storeProjets);
Line 961... Line 961...
961
		
961
		
962
		mediateur.masquerPopinChargement();
962
		mediateur.masquerPopinChargement();
Line 963... Line 963...
963
	}
963
	}
-
 
964
	
964
	
965
	public void binderPersonne(Personne personne)	{
965
	public void binderPersonne(Personne personne)	{
966
		binding = new FormBinding(this);
966
			
967
		
967
		personneSelectionnee = personne;
968
		personneSelectionnee = personne;
Line 968... Line 969...
968
		binding.autoBind();
969
		binding.autoBind();