Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 976 Rev 979
Line 84... Line 84...
84
	private Personne personneSelectionnee, personneSauvegarde = null;
84
	private Personne personneSelectionnee, personneSauvegarde = null;
Line 85... Line 85...
85
	
85
	
86
	//hmIdentite[...] référence par une chaine de caractère tous les composants de l'onglet Identite
86
	//hmIdentite[...] référence par une chaine de caractère tous les composants de l'onglet Identite
87
	private HashMapComposants hmIdentite = new HashMapComposants();
87
	private HashMapComposants hmIdentite = new HashMapComposants();
88
	private HashMapComposants hmAdresse = new HashMapComposants();
88
	private HashMapComposants hmAdresse = new HashMapComposants();
89
	private HashMap<String, Widget>hmInfosNat = new HashMap<String, Widget>();
89
	private HashMapComposants hmInfosNat = new HashMapComposants();
90
	private HashMap<String, Valeur> hmCbSelectionnee = new HashMap();
90
	private HashMap<String, Valeur> hmCbSelectionnee = new HashMap();
Line 91... Line 91...
91
	private FormData fd100 = new FormData("95%");
91
	private FormData fd100 = new FormData("95%");
Line 596... Line 596...
596
		tiAdresses.add(fsAdresse);
596
		tiAdresses.add(fsAdresse);
597
	}
597
	}
Line 598... Line 598...
598
	
598
	
Line -... Line 599...
-
 
599
	public void creerComposantsInfosNat()	{
-
 
600
		
599
	public void creerComposantsInfosNat()	{
601
		FormLayout fl = new FormLayout();
-
 
602
		fl.setLabelAlign(LabelAlign.TOP);
600
		
603
		FieldSet fsInfosNat = new FieldSet();
Line -... Line 604...
-
 
604
		fsInfosNat.setLayout(fl);
-
 
605
		fsInfosNat.setTitle("Informations Naturaliste");
-
 
606
		
-
 
607
		TextArea taBiographie = new TextArea();
-
 
608
		taBiographie.setFieldLabel("Vie et renommée de l'auteur");
-
 
609
		taBiographie.setWidth("400");
601
		FieldSet fsInfosNat = new FieldSet();
610
		taBiographie.setName("biographie");
602
		fsInfosNat.setTitle("Informations Naturaliste");
611
		fsInfosNat.add(taBiographie);
603
		
612
		
Line 604... Line 613...
604
		ChampMultiValeurs specialite = new ChampMultiValeurs(i18nC.personneSpecialite());
613
		ChampMultiValeurs specialite = new ChampMultiValeurs(i18nC.personneSpecialite());
Line 605... Line 614...
605
		fsInfosNat.add(specialite);
614
		fsInfosNat.add(specialite);
606
		hmInfosNat.put("specialite", specialite);
615
		hmInfosNat.put("specialite", specialite);
607
		
-
 
608
		ChampMultiValeursMultiTypes recolte = new ChampMultiValeursMultiTypes(i18nC.personneRecolte(), 200, 200);
616
		
609
				
617
		ChampMultiValeursMultiTypes recolte = new ChampMultiValeursMultiTypes(i18nC.personneRecolte(), 200, 200);
610
		recolte.initialiserType("pays");
618
				
Line 611... Line 619...
611
		hmInfosNat.put("recolte", recolte);
619
		recolte.initialiserType("pays");
Line 897... Line 905...
897
		
905
		
898
		/*--------------------------------------------------------
906
		/*--------------------------------------------------------
899
		 * 					Infos naturalistes
907
		 * 					Infos naturalistes
Line 900... Line 908...
900
		 * -----------------------------------------------------*/
908
		 * -----------------------------------------------------*/
901
		
909
		
902
		((ChampMultiValeurs) hmInfosNat.get("specialite")).peupler(personne.getString("ce_truk_specialite"));
910
		hmInfosNat.getChampMultiValeurs("specialite").peupler(personne.getString("ce_truk_specialite"));
Line 903... Line 911...
903
		String tr = personne.getString("truk_recolte");
911
		String tr = personne.getString("truk_recolte");
904
		((ChampMultiValeursMultiTypes) hmInfosNat.get("recolte")).peupler(tr);
912
		hmInfosNat.getChampMultiValeursMultiTypes("recolte").peupler(tr);
Line 905... Line 913...
905
		 
913