Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1693 Rev 1694
Line 482... Line 482...
482
			// Initialisation de l'objet Structure
482
			// Initialisation de l'objet Structure
483
			conservation = new StructureConservation();
483
			conservation = new StructureConservation();
484
		}
484
		}
485
		if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && conservation != null) {
485
		if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && conservation != null) {
486
			// FORMATION
486
			// FORMATION
487
			// Bouton oui, à toujours l'index 0 donc on teste en fonction...
487
			// Bouton oui, à toujours l'index 0, mais dans le modèle, value == 0
-
 
488
			// donc ^ 1, car 0 ^ 1 = 1 et 1 ^ 1 = 0
488
			if(conservation.getFormation() != null) {
489
			if(conservation.getFormation() != null) {
489
				((Radio) formationMarkRGrpChp.get(conservation.getFormation())).setValue(true);
490
				((Radio) formationMarkRGrpChp.get(conservation.getFormation() ^ 1)).setValue(true);
490
			}
491
			}
Line 491... Line 492...
491
 
492
 
492
			// FORMATION INFO
493
			// FORMATION INFO
493
			formationChp.setValue(conservation.getFormationInfo());
494
			formationChp.setValue(conservation.getFormationInfo());
494
			// FORMATION INTERET
495
			// FORMATION INTERET
495
			if(conservation.getFormationInteret() != null) {
496
			if(conservation.getFormationInteret() != null) {
496
				((Radio) interetFormationMarkRGrpChp.get(conservation.getFormationInteret())).setValue(true);
497
				((Radio) interetFormationMarkRGrpChp.get(conservation.getFormationInteret() ^ 1)).setValue(true);
Line 497... Line 498...
497
			}
498
			}
498
	
499