Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1417 Rev 1468
Line 101... Line 101...
101
		panneauFormulaire.add(indexationFieldset);
101
		panneauFormulaire.add(indexationFieldset);
Line 102... Line 102...
102
		
102
		
Line 103... Line 103...
103
		creerTabIndex();
103
		creerTabIndex();
104
		
104
		
105
		if (modeDeCreation.equals(Formulaire.MODE_MODIFIER)) {
105
		if (modeDeCreation.equals(Formulaire.MODE_MODIFIER)) {
106
			mediateur.selectionnerProjet(this, projetId, null);
106
			mediateur.selectionnerProjet(this, projetId, null, false, null);
Line 107... Line 107...
107
		}			
107
		}			
108
	}
108
	}
Line 188... Line 188...
188
		modelTypesLangues.addField("cmlv_abreviation");
188
		modelTypesLangues.addField("cmlv_abreviation");
189
		modelTypesLangues.addField("cmlv_description");
189
		modelTypesLangues.addField("cmlv_description");
Line 190... Line 190...
190
		
190
		
191
		String displayNameLangues = "cmlv_nom";
191
		String displayNameLangues = "cmlv_nom";
192
		String nomListeTypes = "langues";
192
		String nomListeTypes = "langues";
Line 193... Line 193...
193
		ProxyValeur<ModelData> proxyLangues = new ProxyValeur<ModelData>(nomListeTypes, sequenceur);
193
		ProxyValeur<ModelData> proxyLangues = new ProxyValeur<ModelData>(nomListeTypes, null);
194
		
194
		
195
		langueChp = new ChampComboBoxRechercheTempsReelPaginable(proxyLangues, modelTypesLangues, displayNameLangues);
195
		langueChp = new ChampComboBoxRechercheTempsReelPaginable(proxyLangues, modelTypesLangues, displayNameLangues);
196
		langueChp.setWidth(100,300);
196
		langueChp.setWidth(100,300);
Line 414... Line 414...
414
		urlChp.setValue(projet.getUrl());
414
		urlChp.setValue(projet.getUrl());
Line 415... Line 415...
415
		
415
		
416
		motsClesChp.setValue(projet.getMotsCles());
416
		motsClesChp.setValue(projet.getMotsCles());
417
		citationChp.setValue(projet.getCitation());
417
		citationChp.setValue(projet.getCitation());
418
		licenceChp.setValue(projet.getLicence());
418
		licenceChp.setValue(projet.getLicence());
419
		if (projet.getLangue().matches("[0-9]+")) {
419
		if (projet.getLangueId().matches("[0-9]+")) {
420
			langueChp.getCombo().setValue(langueChp.getStore().findModel("cmlv_id_valeur", projet.getLangue()));
420
			langueChp.getCombo().setValue(langueChp.getStore().findModel("cmlv_id_valeur", projet.getLangueId()));
421
		} else {
421
		} else {
422
			langueChp.getCombo().setRawValue(projet.getLangue());
422
			langueChp.getCombo().setRawValue(projet.getLangueId());
423
		}
423
		}
424
		if (projet.getMarkPublic().equals("1")) {
424
		if (projet.getMarkPublic().equals("1")) {
425
			markPublicChp.setValue(true);
425
			markPublicChp.setValue(true);
426
			String[] heureTab = projet.getIndexationHeure().split(":");
426
			String[] heureTab = projet.getIndexationHeure().split(":");