Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1239 Rev 1246
Line 105... Line 105...
105
		add(panneauFormulaire);
105
		add(panneauFormulaire);
106
	}
106
	}
Line 107... Line 107...
107
	
107
	
108
	public SelectionListener<ButtonEvent> creerEcouteurValidation() {
108
	public SelectionListener<ButtonEvent> creerEcouteurValidation() {
109
		SelectionListener<ButtonEvent> ecouteur = new SelectionListener<ButtonEvent>() {
-
 
110
			@Override
109
		SelectionListener<ButtonEvent> ecouteur = new SelectionListener<ButtonEvent>() {
111
			public void componentSelected(ButtonEvent ce) {
110
			public void componentSelected(ButtonEvent ce) {
112
				String code = ((Button) ce.getComponent()).getData("code");
111
				String code = ((Button) ce.getComponent()).getData("code");
113
				if (code.equals(FormulaireBarreValidation.CODE_BOUTON_VALIDER)) {
112
				if (code.equals(FormulaireBarreValidation.CODE_BOUTON_VALIDER)) {
114
					if (mediateur.getUtilisateur().isIdentifie()) {
113
					if (mediateur.getUtilisateur().isIdentifie()) {
Line 308... Line 307...
308
		}
307
		}
309
	}
308
	}
Line 310... Line 309...
310
	
309
	
311
	public static Listener<BaseEvent> creerEcouteurChampObligatoire() {
310
	public static Listener<BaseEvent> creerEcouteurChampObligatoire() {
312
		return new Listener<BaseEvent>() {
-
 
313
			@Override
311
		return new Listener<BaseEvent>() {
314
			public void handleEvent(BaseEvent be) {
312
			public void handleEvent(BaseEvent be) {
315
				Field<?> champ = null;
313
				Field<?> champ = null;
316
				boolean etreVide = true;
314
				boolean etreVide = true;
317
				if (be.getSource() instanceof TextField<?>) {
315
				if (be.getSource() instanceof TextField<?>) {