Subversion Repositories eFlore/Applications.coel

Rev

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

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