Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1637 Rev 1733
Line 181... Line 181...
181
			valorisation = new StructureValorisation();
181
	    valorisation = new StructureValorisation();
182
		}
182
	}
183
		if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && valorisation != null) {
183
	if (formulaireCourant.mode.equals(Formulaire.MODE_MODIFIER) && valorisation != null) {
184
			// ACTION : 
184
	    // ACTION : 
185
			//TODO : check below:
185
	    //TODO : check below:
-
 
186
	    if(valorisation.getAction() != null) {
186
			((Radio) actionMarkRGrpChp.get((valorisation.getAction().equals("1") ? 0 : 1))).setValue(true);
187
		((Radio) actionMarkRGrpChp.get(valorisation.getAction() ^ 1)).setValue(true);
-
 
188
	    }
Line 187... Line 189...
187
			
189
			
188
			// ACTION INFO
190
	    // ACTION INFO
Line 189... Line 191...
189
			peuplerCasesACocher(valorisation.getActionInfo(), actionTrukCacGrpChp, actionAutreChp);
191
	    peuplerCasesACocher(valorisation.getActionInfo(), actionTrukCacGrpChp, actionAutreChp);
Line 193... Line 195...
193
			
195
			
194
			// COLLECTION AUTRE
196
	    // COLLECTION AUTRE
Line 195... Line 197...
195
			peuplerCasesACocher(valorisation.getCollectionAutre(), autreCollectionTrukCacGrpChp, autreCollectionAutreChp);
197
	    peuplerCasesACocher(valorisation.getCollectionAutre(), autreCollectionTrukCacGrpChp, autreCollectionAutreChp);
-
 
198
			
196
			
199
	    // ACTION FUTURE
-
 
200
	    if(valorisation.getActionFuture() != null) {
Line 197... Line 201...
197
			// ACTION FUTURE
201
		((Radio) futureActionMarkRGrpChp.get(valorisation.getActionFuture() ^ 1)).setValue(true);
198
			((Radio) futureActionMarkRGrpChp.get((valorisation.getActionFuture().equals("1") ? 0 : 1))).setValue(true);
202
	    }
Line 199... Line 203...
199
			
203
			
-
 
204
	    // ACTION FUTURE INFO
200
			// ACTION FUTURE INFO
205
	    futureActionChp.setValue(valorisation.getActionFutureInfo());
-
 
206
			
201
			futureActionChp.setValue(valorisation.getActionFutureInfo());
207
	    // RECHERCHE
202
			
208
	    if(valorisation.getRecherche() != null) {
203
			// RECHERCHE
209
		((Radio) rechercheMarkRGrpChp.get(valorisation.getRecherche() ^ 1)).setValue(true);
204
			((Radio) rechercheMarkRGrpChp.get((valorisation.getRecherche().equals("1") ? 0 : 1))).setValue(true);
210
	    }
Line 205... Line 211...
205
			// RECHERCHE PROVENANCE
211
	    // RECHERCHE PROVENANCE
-
 
212
	    peuplerCasesACocher(valorisation.getRechercheProvenance(), provenanceRechercheTrukCacGrpChp, provenanceRechercheAutreChp);
206
			peuplerCasesACocher(valorisation.getRechercheProvenance(), provenanceRechercheTrukCacGrpChp, provenanceRechercheAutreChp);
213
	    // RECHERCHE TYPE
-
 
214
	    peuplerCasesACocher(valorisation.getRechercheType(), typeRechercheTrukCacGrpChp, typeRechercheAutreChp);
207
			// RECHERCHE TYPE
215
 
208
			peuplerCasesACocher(valorisation.getRechercheType(), typeRechercheTrukCacGrpChp, typeRechercheAutreChp);
216
	    // ACCÈS SANS MOTIF
Line 209... Line 217...
209
 
217
	    if(valorisation.getAccesSansMotif() != null) {
-
 
218
		((Radio) sansMotifAccesMarkRGrpChp.get(valorisation.getAccesSansMotif() ^ 1)).setValue(true);
210
			// ACCÈS SANS MOTIF
219
	    }
-
 
220
	    // ACCÈS SANS MOTIF INFO
211
			((Radio) sansMotifAccesMarkRGrpChp.get((valorisation.getAccesSansMotif().equals("1") ? 0 : 1))).setValue(true);
221
	    sansMotifAccesChp.setValue(valorisation.getAccesSansMotifInfo());
212
			// ACCÈS SANS MOTIF INFO
222
			
Line 213... Line 223...
213
			sansMotifAccesChp.setValue(valorisation.getAccesSansMotifInfo());
223
	    // VISITE AVEC MOTIF
214
			
224
	    if(valorisation.getVisiteAvecMotif() != null) {