Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1637 Rev 1693
Line 318... Line 318...
318
		if (this.getData("acces").equals(true)) {
318
		if (this.getData("acces").equals(true)) {
319
			// Création de l'objet
319
			// Création de l'objet
320
			StructureConservation conservationCollectee = (StructureConservation) conservation.cloner(new StructureConservation());
320
			StructureConservation conservationCollectee = (StructureConservation) conservation.cloner(new StructureConservation());
Line 321... Line 321...
321
			
321
			
322
			// FORMATION
322
			// FORMATION
-
 
323
			conservationCollectee.setFormation(formationMarkRGrpChp.getValue() == null ?
323
			if (formationMarkRGrpChp.getValue() != null) {
324
							   null :
324
				conservationCollectee.setFormation(formationMarkRGrpChp.getValue().getValueAttribute());
325
							   formationMarkRGrpChp.getValue().getValueAttribute());
325
			}
326
 
326
			// FORMATION INFO
327
			// FORMATION INFO
327
			conservationCollectee.setFormationInfo(formationChp.getValue());
328
			conservationCollectee.setFormationInfo(formationChp.getValue());
328
			// FORMATION INTERET
329
			// FORMATION INTERET
-
 
330
			conservationCollectee.setFormationInteret(interetFormationMarkRGrpChp.getValue() == null ?
329
			if (interetFormationMarkRGrpChp.getValue() != null) {
331
								  null :
330
				conservationCollectee.setFormationInteret(interetFormationMarkRGrpChp.getValue().getValueAttribute());
-
 
Line 331... Line 332...
331
			}
332
								  interetFormationMarkRGrpChp.getValue().getValueAttribute());
332
			
333
			
333
			// STOCKAGE LOCAL
334
			// STOCKAGE LOCAL
Line 482... Line 483...
482
			conservation = new StructureConservation();
483
			conservation = new StructureConservation();
483
		}
484
		}
484
		if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && conservation != null) {
485
		if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && conservation != null) {
485
			// FORMATION
486
			// FORMATION
486
			// Bouton oui, à toujours l'index 0 donc on teste en fonction...
487
			// Bouton oui, à toujours l'index 0 donc on teste en fonction...
-
 
488
			if(conservation.getFormation() != null) {
487
			((Radio) formationMarkRGrpChp.get((conservation.getFormation().equals("1") ? 0 : 1))).setValue(true);
489
				((Radio) formationMarkRGrpChp.get(conservation.getFormation())).setValue(true);
-
 
490
			}
-
 
491
 
488
			// FORMATION INFO
492
			// FORMATION INFO
489
			formationChp.setValue(conservation.getFormationInfo());
493
			formationChp.setValue(conservation.getFormationInfo());
490
			// FORMATION INTERET
494
			// FORMATION INTERET
-
 
495
			if(conservation.getFormationInteret() != null) {
491
			((Radio) interetFormationMarkRGrpChp.get((conservation.getFormationInteret().equals("1") ? 0 : 1))).setValue(true);
496
				((Radio) interetFormationMarkRGrpChp.get(conservation.getFormationInteret())).setValue(true);
-
 
497
			}
Line 492... Line 498...
492
	
498
	
493
			// STOCKAGE LOCAL		
499
			// STOCKAGE LOCAL		
Line 494... Line 500...
494
			peuplerCasesACocher(conservation.getStockageLocal(), localStockageTrukCacGrpChp,localStockageAutreChp);
500
			peuplerCasesACocher(conservation.getStockageLocal(), localStockageTrukCacGrpChp,localStockageAutreChp);