Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 887 Rev 902
Line 289... Line 289...
289
					listeIndexationDuree.add(nValeurListe.get(it.next()));
289
					listeIndexationDuree.add(nValeurListe.get(it.next()));
290
					listeIndexationDuree.sort("id_valeur", SortDir.ASC);
290
					listeIndexationDuree.sort("id_valeur", SortDir.ASC);
291
				}
291
				}
Line 292... Line 292...
292
				
292
				
-
 
293
				if(mode.equals(MODE_MODIFIER)) {
293
				if(mode.equals(MODE_MODIFIER)) {
294
					if(valeurListeIndexationDuree.get(projet.getIndexationDuree()) != null) {
-
 
295
						indexationDureeChp.setRawValue(valeurListeIndexationDuree.get(projet.getIndexationDuree()).getNom());
294
					indexationDureeChp.setRawValue(valeurListeIndexationDuree.get(projet.getIndexationDuree()).getNom());
296
					}
Line 295... Line 297...
295
				}
297
				}
Line 296... Line 298...
296
				
298
				
Line 306... Line 308...
306
					listeIndexationFrequence.add(nValeurListe.get(it.next()));
308
					listeIndexationFrequence.add(nValeurListe.get(it.next()));
307
					listeIndexationFrequence.sort("id_valeur", SortDir.ASC);
309
					listeIndexationFrequence.sort("id_valeur", SortDir.ASC);
308
				}
310
				}
Line 309... Line 311...
309
				
311
				
-
 
312
				if(mode.equals(MODE_MODIFIER)) {
310
				if(mode.equals(MODE_MODIFIER)) {
313
					if(valeurListeIndexationFrequence.get(projet.getIndexationFreq()) != null) {
-
 
314
						indexationFrequenceChp.setRawValue(valeurListeIndexationFrequence.get(projet.getIndexationFreq()).getNom());
311
					indexationFrequenceChp.setRawValue(valeurListeIndexationFrequence.get(projet.getIndexationFreq()).getNom());
315
					}
Line 312... Line 316...
312
				}
316
				}
313
				
317
				
Line 322... Line 326...
322
					listeLangue.add(nValeurListe.get(it.next()));
326
					listeLangue.add(nValeurListe.get(it.next()));
323
					listeLangue.sort("id_valeur", SortDir.ASC);
327
					listeLangue.sort("id_valeur", SortDir.ASC);
324
				}
328
				}
Line 325... Line 329...
325
				
329
				
326
				if(mode.equals(MODE_MODIFIER)) {
330
				if(mode.equals(MODE_MODIFIER)) {
327
					langueChp.setRawValue(valeurListeLangue.get(projet.getLangue()).getNom());
331
					if(valeurListeLangue.get(projet.getLangue()) != null) {
-
 
332
						langueChp.setRawValue(valeurListeLangue.get(projet.getLangue()).getNom());
328
					GWT.log(valeurListeLangue.get(projet.getLangue()).getNom(),null);
333
					}
329
				}
334
				}
Line 330... Line 335...
330
			}
335
			}
331
			
336
			
Line 451... Line 456...
451
		} else {
456
		} else {
452
			markPublicChp.setValue(false);
457
			markPublicChp.setValue(false);
453
		}
458
		}
Line 454... Line 459...
454
		
459
		
-
 
460
		String[] heureTab = projet.getIndexationHeure().split(":");
455
		String[] heureTab = projet.getIndexationHeure().split(":");
461
		if(heureTab.length > 1) {
456
		String heure = heureTab[0]+":"+heureTab[1];
462
			String heure = heureTab[0]+":"+heureTab[1];
457
		if(heure.matches(Pattern.heureMinute)) {
463
			if(heure.matches(Pattern.heureMinute)) {
-
 
464
				indexationHeureChp.setValue(heure);
458
			indexationHeureChp.setValue(heure);
465
			}
Line 459... Line 466...
459
		}
466
		}
Line 460... Line 467...
460
		
467