Changeset 434 for ether_ndacc/trunk/web/src/com/ether/Controller.java
- Timestamp:
- 03/22/12 19:00:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ether_ndacc/trunk/web/src/com/ether/Controller.java
r432 r434 12 12 import javax.servlet.http.HttpServletRequest; 13 13 import javax.servlet.http.HttpServletResponse; 14 import java.util.ArrayList; 14 15 import java.util.Date; 15 16 import java.util.HashMap; … … 283 284 dateinf=year+month+"01"; 284 285 final List<String> plotsList = _plotService.getPlotsByDateByInstrumentByStationByType( instrument, dateinf, "yyyyMMdd", station, type ); 285 String[] labelDates = new String[plotsList.size()]; 286 287 for (int i=0 ; i<plotsList.size() ; i++) { 288 labelDates[0]=plotsList.get( 0 ).substring(0,6); 286 String[] labelPlots = new String[plotsList.size()]; 287 288 for (Integer i=0 ; i<plotsList.size() ; i++) { 289 //temp= 290 labelPlots[i]=plotsList.get( i ).substring(5,9)+"/"+plotsList.get( i ).substring(9,11)+"/"+plotsList.get( i ).substring(11,13); 289 291 } 290 292 … … 297 299 model.put( "listeDates", listeDates ); 298 300 model.put( "firstDate", dateinf ); 301 model.put( "labelPlots", labelPlots ); 299 302 300 303 model.put( "month", month );
Note: See TracChangeset
for help on using the changeset viewer.