Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1327 Rev 1342
Line 166... Line 166...
166
		
166
		
167
		structuresCombo = new ChampComboBoxRechercheTempsReelPaginable(proxyStructures, modelTypeStructures, displayNameStructures);
167
		structuresCombo = new ChampComboBoxRechercheTempsReelPaginable(proxyStructures, modelTypeStructures, displayNameStructures);
168
		structuresCombo.setWidth(250, 600);
168
		structuresCombo.setWidth(250, 600);
169
		structuresCombo.getCombo().setTabIndex(tabIndex++);
169
		structuresCombo.getCombo().setTabIndex(tabIndex++);
170
		structuresCombo.getCombo().setFieldLabel(i18nC.lienStructureCollection());
170
		structuresCombo.getCombo().setFieldLabel(i18nC.lienStructureCollection());
171
		structuresCombo.getCombo().setForceSelection(true);
-
 
172
		structuresCombo.getCombo().addStyleName(ComposantClass.OBLIGATOIRE);
-
 
Line 173... Line 171...
173
		structuresCombo.getCombo().addListener(Events.Valid, Formulaire.creerEcouteurChampObligatoire());		
171
		structuresCombo.getCombo().setForceSelection(true);	
174
		
172
		
175
		structuresCombo.getCombo().setValidator(new Validator() {
173
		structuresCombo.getCombo().setValidator(new Validator() {
176
			public String validate(Field<?> field, String value) {
174
			public String validate(Field<?> field, String value) {
Line 206... Line 204...
206
		collectionsCombo = new ChampComboBoxRechercheTempsReelPaginable(proxyCollections, modelTypeCollections, displayNameCollections);
204
		collectionsCombo = new ChampComboBoxRechercheTempsReelPaginable(proxyCollections, modelTypeCollections, displayNameCollections);
207
		collectionsCombo.setWidth(250, 600);
205
		collectionsCombo.setWidth(250, 600);
208
		collectionsCombo.getCombo().setTabIndex(tabIndex++);
206
		collectionsCombo.getCombo().setTabIndex(tabIndex++);
209
		collectionsCombo.getCombo().setFieldLabel(i18nC.lienMereCollection());
207
		collectionsCombo.getCombo().setFieldLabel(i18nC.lienMereCollection());
210
		collectionsCombo.getCombo().setForceSelection(true);
208
		collectionsCombo.getCombo().setForceSelection(true);
211
		collectionsCombo.getCombo().addStyleName(ComposantClass.OBLIGATOIRE);
-
 
212
		collectionsCombo.getCombo().addListener(Events.Valid, Formulaire.creerEcouteurChampObligatoire());	
-
 
Line 213... Line 209...
213
		
209
		
214
		collectionsCombo.getCombo().setValidator(new Validator() {
210
		collectionsCombo.getCombo().setValidator(new Validator() {
215
			public String validate(Field<?> field, String value) {
211
			public String validate(Field<?> field, String value) {
216
				String retour = null;
212
				String retour = null;