Subversion Repositories eFlore/Archives.cel-v1

Rev

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

Rev 24 Rev 25
Line 92... Line 92...
92
  private String ordre =null;
92
  private String ordre =null;
Line 93... Line 93...
93
  
93
  
94
  private CalendarWidget calendar = null; // Lazy instantiation
94
  private CalendarWidget calendar = null; // Lazy instantiation
Line -... Line 95...
-
 
95
  private PopupPanel choicesPopup = null; // Lazy instantiation
95
  private PopupPanel choicesPopup = null; // Lazy instantiation
96
  
Line -... Line 97...
-
 
97
 
-
 
98
  public EntryPanel(final Mediator med) {
-
 
99
	 
-
 
100
	  
96
 
101
	  Grid inner = new Grid(3,4);
97
  public EntryPanel(final Mediator med) {
102
 
Line 98... Line 103...
98
	 
103
	  
Line 111... Line 116...
111
   
116
   
Line 112... Line -...
112
 
-
 
Line 113... Line 117...
113
   outer.add(new HTML("<b>Saisir&nbsp;un&nbsp;relev&eacute;&nbsp;:</b>"));
117
 
114
 
118
   outer.add(new HTML("<b>Saisir&nbsp;un&nbsp;relev&eacute;&nbsp;:</b>"));
115
   
119
 
116
   Grid inner = new Grid(3,4);
120
   
117
 
121
 
118
   for (int i=0; i<3;i++) {
122
   for (int i=0; i<3;i++) {
Line -... Line 123...
-
 
123
	inner.getCellFormatter().setWidth(i, 0, "3%");
-
 
124
	inner.getCellFormatter().setWidth(i, 1, "47%");
119
	inner.getCellFormatter().setWidth(i, 0, "3%");
125
	inner.getCellFormatter().setWidth(i, 2, "3%");
120
	inner.getCellFormatter().setWidth(i, 1, "47%");
126
	inner.getCellFormatter().setWidth(i, 3, "47%");
Line 121... Line 127...
121
	inner.getCellFormatter().setWidth(i, 2, "3%");
127
   }  
Line 351... Line 357...
351
 
357
 
Line 352... Line -...
352
    	
-
 
353
    }
358
    	
Line 354... Line 359...
354
	 
359
    }
Line 404... Line 409...
404
							// Numero nomenclatural
409
							// Numero nomenclatural
Line 405... Line 410...
405
						
410
						
Line 406... Line 411...
406
							String ann=((JSONString) jsonArray .get(3)).stringValue();
411
							String ann=((JSONString) jsonArray .get(3)).stringValue();
407
							
412
							
-
 
413
							if (ann.compareTo("0")!=0) {
408
							if (ann.compareTo("0")!=0) {
414
								nameAssistant.setValue(ann);
409
								nameAssistant.setValue(null);
415
								mediator.getInfoPopup().setImageUrl(ann);
410
							}
416
							}
411
							else {
417
							else {
Line 463... Line 469...
463
 
469
 
464
	public void setUser(String user) {
470
	public void setUser(String user) {
465
		this.user = user;
471
		this.user = user;
Line -... Line 472...
-
 
472
	}
466
	}
473
	
Line 467... Line 474...
467
 
474
 
468
}
475
}
-
 
476
 
-
 
477
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
478
* $Log$
469
 
479
* Revision 1.5  2007-05-22 14:27:08  ddelon
470
/* +--Fin du code ---------------------------------------------------------------------------------------+
480
* reglage modification
471
* $Log$
481
*
472
* Revision 1.4  2007-05-21 21:01:35  ddelon
482
* Revision 1.4  2007-05-21 21:01:35  ddelon
473
* Modification comportement boutons
483
* Modification comportement boutons