Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 440 Rev 446
Line 19... Line 19...
19
import org.tela_botanica.client.modeles.Personne;
19
import org.tela_botanica.client.modeles.Personne;
20
import org.tela_botanica.client.modeles.PersonneListe;
20
import org.tela_botanica.client.modeles.PersonneListe;
21
import org.tela_botanica.client.modeles.Valeur;
21
import org.tela_botanica.client.modeles.Valeur;
22
import org.tela_botanica.client.modeles.ValeurListe;
22
import org.tela_botanica.client.modeles.ValeurListe;
Line -... Line 23...
-
 
23
 
23
 
24
import com.extjs.gxt.ui.client.Events;
24
import com.extjs.gxt.ui.client.Registry;
25
import com.extjs.gxt.ui.client.Registry;
25
import com.extjs.gxt.ui.client.Style.HorizontalAlignment;
26
import com.extjs.gxt.ui.client.Style.HorizontalAlignment;
Line 26... Line 27...
26
import com.extjs.gxt.ui.client.Style.Scroll;
27
import com.extjs.gxt.ui.client.Style.Scroll;
Line 27... Line 28...
27
 
28
 
28
import com.extjs.gxt.ui.client.binding.FormBinding;
29
import com.extjs.gxt.ui.client.binding.FormBinding;
-
 
30
 
29
 
31
import com.extjs.gxt.ui.client.event.ComponentEvent;
30
import com.extjs.gxt.ui.client.event.ComponentEvent;
32
import com.extjs.gxt.ui.client.event.KeyListener;
31
import com.extjs.gxt.ui.client.event.KeyListener;
33
import com.extjs.gxt.ui.client.event.Listener;
32
import com.extjs.gxt.ui.client.event.SelectionChangedEvent;
34
import com.extjs.gxt.ui.client.event.SelectionChangedEvent;
33
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
35
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
Line 48... Line 50...
48
import com.extjs.gxt.ui.client.widget.form.DateField;
50
import com.extjs.gxt.ui.client.widget.form.DateField;
49
import com.extjs.gxt.ui.client.widget.form.FieldSet;
51
import com.extjs.gxt.ui.client.widget.form.FieldSet;
50
import com.extjs.gxt.ui.client.widget.form.FormPanel;
52
import com.extjs.gxt.ui.client.widget.form.FormPanel;
51
import com.extjs.gxt.ui.client.widget.form.HiddenField;
53
import com.extjs.gxt.ui.client.widget.form.HiddenField;
52
import com.extjs.gxt.ui.client.widget.form.LabelField;
54
import com.extjs.gxt.ui.client.widget.form.LabelField;
-
 
55
import com.extjs.gxt.ui.client.widget.form.Radio;
-
 
56
import com.extjs.gxt.ui.client.widget.form.RadioGroup;
53
import com.extjs.gxt.ui.client.widget.form.TextArea;
57
import com.extjs.gxt.ui.client.widget.form.TextArea;
54
import com.extjs.gxt.ui.client.widget.form.TextField;
58
import com.extjs.gxt.ui.client.widget.form.TextField;
55
import com.extjs.gxt.ui.client.widget.layout.ColumnData;
59
import com.extjs.gxt.ui.client.widget.layout.ColumnData;
56
import com.extjs.gxt.ui.client.widget.layout.ColumnLayout;
60
import com.extjs.gxt.ui.client.widget.layout.ColumnLayout;
57
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
61
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
Line 60... Line 64...
60
import com.extjs.gxt.ui.client.widget.layout.RowLayout;
64
import com.extjs.gxt.ui.client.widget.layout.RowLayout;
61
import com.extjs.gxt.ui.client.widget.toolbar.TextToolItem;
65
import com.extjs.gxt.ui.client.widget.toolbar.TextToolItem;
62
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
66
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
63
import com.google.gwt.core.client.GWT;
67
import com.google.gwt.core.client.GWT;
64
import com.google.gwt.i18n.client.DateTimeFormat;
68
import com.google.gwt.i18n.client.DateTimeFormat;
-
 
69
import com.google.gwt.user.client.Window;
-
 
70
import com.google.gwt.user.client.ui.RadioButton;
65
import com.google.gwt.user.client.ui.Widget;
71
import com.google.gwt.user.client.ui.Widget;
Line 66... Line -...
66
 
-
 
67
 
-
 
68
 
-
 
69
 
72
 
70
public class PersonneForm extends FormPanel implements Rafraichissable {
-
 
71
	
73
public class PersonneForm extends FormPanel implements Rafraichissable {
72
	
74
 
73
	/*--------------------------------------------------------------------------------------
75
	/*--------------------------------------------------------------------------------------
74
	 * 		VARIABLES
76
	 * 		VARIABLES
75
	 * -------------------------------------------------------------------------------------
77
	 * -------------------------------------------------------------------------------------
Line 76... Line 78...
76
	 */
78
	 */
77
	
79
	
78
	private TabItem tiIdentite, tiAdresses, tiInfosNat;
80
	private TabItem tiIdentite, tiAdresses, tiInfosNat;
79
	private Mediateur mediateur = Registry.get(RegistreId.MEDIATEUR);
81
	private Mediateur mediateur = Registry.get(RegistreId.MEDIATEUR);
Line 80... Line -...
80
	private Configuration config = (Configuration) Registry.get(RegistreId.CONFIG);
-
 
81
	private Personne personneSelectionnee, personneSauvegarde = null;
82
	private Configuration config = (Configuration) Registry.get(RegistreId.CONFIG);
Line 82... Line 83...
82
	
83
	private Personne personneSelectionnee, personneSauvegarde = null;
83
	
84
	
84
	private FormBinding binding = null;
85
	private FormBinding binding = null;
85
	
86
	
-
 
87
	/*--------------------------------------------------------------------------------------
86
	/*--------------------------------------------------------------------------------------
88
	 * 		CONSTRUCTEUR 
87
	 * 		CONSTRUCTEUR 
89
	 * -------------------------------------------------------------------------------------
88
	 * -------------------------------------------------------------------------------------
90
	 */
89
	 */
91
	
90
	/**
92
	/**
Line 116... Line 118...
116
		
118
		
117
		ToolBar barreOutilsHaut = new ToolBar();
119
		ToolBar barreOutilsHaut = new ToolBar();
118
		ajouterBoutonReinitialiser(barreOutilsHaut);
120
		ajouterBoutonReinitialiser(barreOutilsHaut);
Line 119... Line -...
119
		setTopComponent(barreOutilsHaut);
-
 
120
		
121
		setTopComponent(barreOutilsHaut);
Line 121... Line 122...
121
		
122
		
122
		initialiserOnglets();	
123
		initialiserOnglets();	
Line 123... Line 124...
123
		
124
		
Line 124... Line 125...
124
		creerComposantsIdentite();
125
		creerComposantsIdentite();
125
		creerComposantsAdresse();
-
 
126
		
126
		creerComposantsAdresse();
Line 127... Line -...
127
		layout();
-
 
128
		
127
		
129
		binderPersonne(personneSelectionnee);
128
		layout();
130
		
129
		
131
	}
130
		binderPersonne(personneSelectionnee);
132
	
131
	}
Line 140... Line 139...
140
	 * 
139
	 * 
141
	 * @param contentPanel le panneau à initialiser
140
	 * @param contentPanel le panneau à initialiser
142
	 * */
141
	 * */
143
	public void initialiserPanneau()	{
142
	public void initialiserPanneau()	{
Line 144... Line -...
144
		
-
 
145
		
143
		
146
		setIconStyle("icone-form-ajouter");  
144
		setIconStyle("icone-form-ajouter");  
147
		setCollapsible(false);  
145
		setCollapsible(false);  
148
		setHeading("Ajouter une personne");
146
		setHeading("Ajouter une personne");
149
		setButtonAlign(HorizontalAlignment.CENTER);  
147
		setButtonAlign(HorizontalAlignment.CENTER);  
150
		setLayout(new FitLayout());
148
		setLayout(new FitLayout());
151
		setBodyBorder(false);
149
		setBodyBorder(false);
152
		setBorders(false);
-
 
153
		
-
 
154
		
150
		setBorders(false);
155
		setPadding(0);
151
		setPadding(0);
-
 
152
		setWidth("100%");
156
		setWidth("100%");
153
	
Line 157... Line 154...
157
	}
154
	}
158
	
155
	
159
	/**
156
	/**
160
	 * Crée les onglets identité, adresse et informations naturaliste
157
	 * Crée les onglets identité, adresse et informations naturaliste
161
	 * 
158
	 * 
162
	 * */
159
	 * */
163
	public void initialiserOnglets()	{
160
	public void initialiserOnglets()	{
Line 164... Line -...
164
		//TabPanel
-
 
165
		TabPanel formulaireOnglets = new TabPanel();
161
		//TabPanel
166
		
162
		TabPanel formulaireOnglets = new TabPanel();
167
		
163
		
168
		//Tab 1 : identite
164
		//Tab 1 : identite
169
		tiIdentite = new TabItem("Identité");
-
 
170
		tiIdentite.setLayout(new FormLayout());
-
 
Line -... Line 165...
-
 
165
		tiIdentite = new TabItem("Identité");
171
		tiIdentite.setScrollMode(Scroll.AUTO);
166
		tiIdentite.setLayout(new FormLayout());
Line 172... Line -...
172
		formulaireOnglets.add(tiIdentite);
-
 
173
		
167
		tiIdentite.setScrollMode(Scroll.AUTO);
174
		
168
		
175
		hmIdentite.put("tiIdentite", tiIdentite);
169
		formulaireOnglets.add(tiIdentite);
176
		
170
		hmIdentite.put("tiIdentite", tiIdentite);
-
 
171
		
177
		
172
		//Tab 2 : Adresse
Line 178... Line 173...
178
		//Tab 2 : Adresse
173
		tiAdresses = new TabItem("Adresse");
179
		tiAdresses = new TabItem("Adresse");
174
		tiAdresses.setLayout(new FormLayout());
180
		tiAdresses.setLayout(new FormLayout());
175
		tiAdresses.setScrollMode(Scroll.AUTO);
181
		tiAdresses.setScrollMode(Scroll.AUTO);
176
		
182
		formulaireOnglets.add(tiAdresses);
-
 
Line -... Line 177...
-
 
177
		formulaireOnglets.add(tiAdresses);
183
		
178
		
184
		//Tab 3 : Infos Naturalistes
179
		//Tab 3 : Infos Naturalistes
Line 185... Line 180...
185
		tiInfosNat = new TabItem("Informations Naturalistes");
180
		tiInfosNat = new TabItem("Informations Naturalistes");
186
		tiInfosNat.setLayout(new FormLayout());
181
		tiInfosNat.setLayout(new FormLayout());
Line 238... Line 233...
238
					cbPrefixe.setStore(storePrefixe);
233
					cbPrefixe.setStore(storePrefixe);
239
					cbPrefixe.setDisplayField("nom");
234
					cbPrefixe.setDisplayField("nom");
240
					cbPrefixe.setEmptyText("Choisissez le préfixe:");
235
					cbPrefixe.setEmptyText("Choisissez le préfixe:");
241
					cbPrefixe.setFieldLabel("Prefix");
236
					cbPrefixe.setFieldLabel("Prefix");
Line 242... Line -...
242
					
-
 
243
					
237
					
244
					fsNoms.add(cbPrefixe);
238
					fsNoms.add(cbPrefixe);
Line 245... Line 239...
245
					hmIdentite.put("cbPrefixe", cbPrefixe);
239
					hmIdentite.put("cbPrefixe", cbPrefixe);
Line 260... Line 254...
260
					tfNom.setName("nom");
254
					tfNom.setName("nom");
Line 261... Line 255...
261
					
255
					
262
					fsNoms.add(tfNom);
256
					fsNoms.add(tfNom);
Line 263... Line -...
263
					hmIdentite.put("tfNom", tfNom);
-
 
264
					
257
					hmIdentite.put("tfNom", tfNom);
265
			
258
					
266
					//Suffixe
259
					//Suffixe
267
					ListStore<Valeur> storeSuffixe = new ListStore<Valeur>();
260
					ListStore<Valeur> storeSuffixe = new ListStore<Valeur>();
268
					ComboBox<Valeur> cbSuffixe = new ComboBox<Valeur>();
261
					ComboBox<Valeur> cbSuffixe = new ComboBox<Valeur>();
Line 274... Line 267...
274
					fsNoms.add(cbSuffixe);			
267
					fsNoms.add(cbSuffixe);			
275
					hmIdentite.put("cbSuffixe", cbSuffixe);
268
					hmIdentite.put("cbSuffixe", cbSuffixe);
Line 276... Line 269...
276
					
269
					
Line 277... Line -...
277
					mediateur.obtenirListeValeurEtRafraichir(this, "suffixes");
-
 
278
			
270
					mediateur.obtenirListeValeurEtRafraichir(this, "suffixes");
279
					
271
			
280
					TextField<String> tfNomAutre = new TextField();
272
					TextField<String> tfNomAutre = new TextField();
Line 281... Line 273...
281
					tfNomAutre.setFieldLabel("Autres noms");
273
					tfNomAutre.setFieldLabel("Autres noms");
Line 288... Line 280...
288
					tfAbreviation.setFieldLabel("Abréviation");
280
					tfAbreviation.setFieldLabel("Abréviation");
289
					tfAbreviation.setName("abreviation");
281
					tfAbreviation.setName("abreviation");
Line 290... Line 282...
290
					
282
					
291
					fsNoms.add(tfAbreviation);
283
					fsNoms.add(tfAbreviation);
292
					hmIdentite.put("tfAbreviation", tfAbreviation);
-
 
293
					
284
					hmIdentite.put("tfAbreviation", tfAbreviation);
294
					
285
			
295
					//Abréviation autres
286
					//Abréviation autres
296
					TextField<String> tfAbreviationAutre = new TextField<String>();
287
					TextField<String> tfAbreviationAutre = new TextField<String>();
297
					tfAbreviationAutre.setFieldLabel("Autres Abrév.");
288
					tfAbreviationAutre.setFieldLabel("Autres Abrév.");
Line 303... Line 294...
303
				left.add(fsNoms);
294
				left.add(fsNoms);
Line 304... Line 295...
304
			
295
			
305
				formLayout = new FormLayout();
296
				formLayout = new FormLayout();
Line 306... Line -...
306
				formLayout.setLabelAlign(LabelAlign.LEFT);
-
 
307
			
297
				formLayout.setLabelAlign(LabelAlign.LEFT);
308
			
298
			
309
				FieldSet fsNaissance = new FieldSet();
299
				FieldSet fsNaissance = new FieldSet();
Line 310... Line 300...
310
				fsNaissance.setHeading("Naissance");
300
				fsNaissance.setHeading("Naissance");
Line 332... Line 322...
332
				formLayout.setLabelAlign(LabelAlign.LEFT);
322
				formLayout.setLabelAlign(LabelAlign.LEFT);
Line 333... Line 323...
333
			
323
			
334
				FieldSet fsDeces = new FieldSet();
324
				FieldSet fsDeces = new FieldSet();
335
				fsDeces.setHeading("Décès");
325
				fsDeces.setHeading("Décès");
336
				fsDeces.setLayout(formLayout); 
326
				fsDeces.setLayout(formLayout); 
-
 
327
					
-
 
328
					Radio rbEstDecedee = new Radio();
-
 
329
					rbEstDecedee.setBoxLabel("oui");
-
 
330
					
-
 
331
					rbEstDecedee.addListener(Events.Change, new Listener<ComponentEvent>() {
-
 
332
						
-
 
333
						public void handleEvent(ComponentEvent be) {
-
 
334
							if(((Radio) be.component).getValue().equals(true))	{
-
 
335
								((DateField) hmIdentite.get("dfDateDeces")).setVisible(true);
-
 
336
								((TextField) hmIdentite.get("tfLieuDeces")).setVisible(true);
-
 
337
							} else	{
-
 
338
								((DateField) hmIdentite.get("dfDateDeces")).setVisible(false);
-
 
339
								((TextField) hmIdentite.get("tfLieuDeces")).setVisible(false);
-
 
340
							}
-
 
341
							//afficherChampSupplementaire(((Radio) be.component));
-
 
342
						}
-
 
343
						
-
 
344
					});
-
 
345
					
-
 
346
					
-
 
347
					
-
 
348
					Radio rbNestPasDecedee = new Radio();
-
 
349
					rbNestPasDecedee.setBoxLabel("non");
-
 
350
					rbNestPasDecedee.setValue(true);
-
 
351
					
-
 
352
					RadioGroup rbgDeces = new RadioGroup();
-
 
353
					rbgDeces.setFieldLabel("Est décédée");
-
 
354
					rbgDeces.add(rbEstDecedee);
-
 
355
					rbgDeces.add(rbNestPasDecedee);
-
 
356
					
-
 
357
					fsDeces.add(rbgDeces);
337
			
358
					
338
					DateField dfDateDeces = new DateField();
359
					DateField dfDateDeces = new DateField();
339
					dfDateDeces.getPropertyEditor().setFormat(DateTimeFormat.getFormat("dd/MM/yyyy"));
360
					dfDateDeces.getPropertyEditor().setFormat(DateTimeFormat.getFormat("dd/MM/yyyy"));
340
					dfDateDeces.setFormatValue(true);
361
					dfDateDeces.setFormatValue(true);
341
					dfDateDeces.getMessages().setInvalidText("La valeur saisie n'est pas une date valide. La date doit être au format «jj/mm/aaaa».");
362
					dfDateDeces.getMessages().setInvalidText("La valeur saisie n'est pas une date valide. La date doit être au format «jj/mm/aaaa».");
-
 
363
					dfDateDeces.setFieldLabel("Date");
Line 342... Line 364...
342
					dfDateDeces.setFieldLabel("Date");
364
					dfDateDeces.setVisible(false);
343
			
365
			
344
					fsDeces.add(dfDateDeces);
-
 
345
					hmIdentite.put("dfDateDeces", dfDateDeces);
366
					fsDeces.add(dfDateDeces);
346
					
367
					hmIdentite.put("dfDateDeces", dfDateDeces);
347
 
368
			
348
					TextField<String> tfLieuDeces = new TextField();
369
					TextField<String> tfLieuDeces = new TextField();
-
 
370
					tfLieuDeces.setFieldLabel("Lieu");
Line 349... Line 371...
349
					tfLieuDeces.setFieldLabel("Lieu");
371
					tfLieuDeces.setName("deces_lieu");
350
					tfLieuDeces.setName("deces_lieu");
372
					tfLieuDeces.setVisible(false);
Line 351... Line 373...
351
					
373
					
Line 384... Line 406...
384
						mediateur.obtenirListeValeurEtRafraichir(this, "tel");
406
						mediateur.obtenirListeValeurEtRafraichir(this, "tel");
Line 385... Line 407...
385
			
407
			
386
						IconButton bAjouter = new IconButton(ComposantClass.ICONE_AJOUTER);
408
						IconButton bAjouter = new IconButton(ComposantClass.ICONE_AJOUTER);
387
						bAjouter.addSelectionListener(
409
						bAjouter.addSelectionListener(
388
								new SelectionListener<ComponentEvent>() {
-
 
389
						
410
								new SelectionListener<ComponentEvent>() {
390
									public void componentSelected(ComponentEvent ce) {
411
									public void componentSelected(ComponentEvent ce) {
391
							
412
			
392
										String strTelephone = ((TextField<String>) hmIdentite.get("tfTelephone")).getValue();
413
										String strTelephone = ((TextField<String>) hmIdentite.get("tfTelephone")).getValue();
393
										if ((strTelephone==null)||(strTelephone.trim().equals("")))	{
414
										if ((strTelephone==null)||(strTelephone.trim().equals("")))	{
394
											MessageBox.alert("Erreur de saisie", "Vous devez saisir un numéro de téléphone", null);
415
											MessageBox.alert("Erreur de saisie", "Vous devez saisir un numéro de téléphone", null);
395
										} else if (hmIdentite.get("tel-" + strTelephone) != null){
416
										} else if (hmIdentite.get("tel-" + strTelephone) != null){
396
											MessageBox.alert("Erreur de saisie", "Le numéro saisi est déjà présent dans la liste", null);							
417
											MessageBox.alert("Erreur de saisie", "Le numéro saisi est déjà présent dans la liste", null);							
397
										} else {
-
 
398
								
418
										} else {
399
												String strValeurTypeTel = "";
419
												String strValeurTypeTel = "";
400
												String idTel = "";
420
												String idTel = "";
Line 401... Line 421...
401
												Valeur valeurTypeTel = ((ComboBox<Valeur>) hmIdentite.get("cbTelephone")).getValue();
421
												Valeur valeurTypeTel = ((ComboBox<Valeur>) hmIdentite.get("cbTelephone")).getValue();
Line 405... Line 425...
405
													idTel = valeurTypeTel.get("abreviation");
425
													idTel = valeurTypeTel.get("abreviation");
406
												}	else {
426
												}	else {
407
													strValeurTypeTel = ((ComboBox<Valeur>) hmIdentite.get("cbTelephone")).getRawValue();
427
													strValeurTypeTel = ((ComboBox<Valeur>) hmIdentite.get("cbTelephone")).getRawValue();
408
													idTel = strValeurTypeTel;
428
													idTel = strValeurTypeTel;
409
												}
429
												}
410
									
-
 
411
									
430
								
412
												if (strValeurTypeTel.trim().equals(""))	{
431
												if (strValeurTypeTel.trim().equals(""))	{
413
													MessageBox.alert("Erreur de saisie", "Vous devez saisir un type de téléphone", null);
432
													MessageBox.alert("Erreur de saisie", "Vous devez saisir un type de téléphone", null);
414
												}	else {
433
												}	else {
415
													ajouterTelephone(strTelephone, strValeurTypeTel, idTel);
434
													ajouterTelephone(strTelephone, strValeurTypeTel, idTel);
416
												}
435
												}
Line 425... Line 444...
425
						add(hfTelephone);
444
						add(hfTelephone);
426
						hmIdentite.put("hfTelephone", hfTelephone);
445
						hmIdentite.put("hfTelephone", hfTelephone);
Line 427... Line 446...
427
					
446
					
Line 428... Line -...
428
					fsContactTel.add(lcTelephone);
-
 
429
			
447
					fsContactTel.add(lcTelephone);
430
			
448
			
431
					FieldSet fsContact = new FieldSet();
449
					FieldSet fsContact = new FieldSet();
432
					fsContact.setHeading("Contact - Autres");
450
					fsContact.setHeading("Contact - Autres");
Line 433... Line 451...
433
					fsContact.setId("fsContact");
451
					fsContact.setId("fsContact");
434
					fsContact.setLayout(new RowLayout());
452
					fsContact.setLayout(new RowLayout());
Line 435... Line -...
435
			
-
 
436
					right.add(fsContact);
453
			
437
					hmIdentite.put("fsContact", fsContact);
454
					right.add(fsContact);
Line 438... Line 455...
438
			
455
					hmIdentite.put("fsContact", fsContact);
Line 439... Line -...
439
 
-
 
440
					LabelField lfCourriel = new LabelField();
456
			
441
					lfCourriel.setText("<b>Courriels:</b>");
457
					LabelField lfCourriel = new LabelField();
Line 442... Line 458...
442
			
458
					lfCourriel.setText("<b>Courriels:</b>");
443
					fsContact.add(lfCourriel);
459
			
Line 444... Line 460...
444
			
460
					fsContact.add(lfCourriel);
445
			
461
			
446
					LayoutContainer lcCourriel = new LayoutContainer();
462
					LayoutContainer lcCourriel = new LayoutContainer();
-
 
463
					lcCourriel.setLayout(new ColumnLayout());
447
					lcCourriel.setLayout(new ColumnLayout());
464
			
448
			
465
						TextField tfCourriel = new TextField();
449
						TextField tfCourriel = new TextField();
-
 
450
						lcCourriel.add(tfCourriel, new ColumnData(0.80));
-
 
451
						
-
 
452
						HiddenField hfHiddenCourriel = new HiddenField();
-
 
453
						hfHiddenCourriel.setId("tfHiddenCourriel");
-
 
454
						hfHiddenCourriel.setValue("");
466
						lcCourriel.add(tfCourriel, new ColumnData(0.80));
Line 455... Line 467...
455
						add(hfHiddenCourriel);
467
						
456
						hmIdentite.put("hfHiddenCourriel", hfHiddenCourriel);
468
						HiddenField hfHiddenCourriel = new HiddenField();
457
						
469
						hfHiddenCourriel.setId("tfHiddenCourriel");
Line 458... Line 470...
458
						//tfHiddenCourriel.setVisible(true);
470
						hfHiddenCourriel.setValue("");
Line 459... Line 471...
459
						
471
						
460
						
-
 
461
						
472
						add(hfHiddenCourriel);
462
						hmIdentite.put("tfCourriel", tfCourriel);
473
						hmIdentite.put("hfHiddenCourriel", hfHiddenCourriel);
463
			
474
						hmIdentite.put("tfCourriel", tfCourriel);
464
						IconButton bAjouterCourriel = new IconButton(ComposantClass.ICONE_AJOUTER);
475
			
465
						bAjouterCourriel.addSelectionListener(
476
						IconButton bAjouterCourriel = new IconButton(ComposantClass.ICONE_AJOUTER);