Ignore:
Timestamp:
05/23/12 17:49:12 (12 years ago)
Author:
rboipsl
Message:

nouveau design page station ohp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_ndacc/trunk/web/src/com/ether/Controller.java

    r434 r518  
    222222            } 
    223223 
     224            String[] labelPlots = new String[plotsList.size()]; 
     225 
     226            for (Integer i=0 ; i<plotsList.size() ; i++) { 
     227                labelPlots[i]=plotsList.get( i ).substring(5,9)+"/"+plotsList.get( i ).substring(9,11)+"/"+plotsList.get( i ).substring(11,13); 
     228            } 
     229 
    224230            final Map<String, Object> model = new HashMap<String, Object>(); 
    225231            model.put( "plotsList", plotsList ); 
    226232            model.put( "listeDates", listeDates ); 
    227233            model.put( "firstDate", dateinf ); 
     234            model.put( "labelPlots", labelPlots ); 
    228235            final String month = dateinf.substring( 4, 6 ); 
    229236            model.put( "month", month ); 
     
    249256            { 
    250257 
    251  
    252258                String rep = ""; 
    253259                String year = dateinf.substring( 0, 4 ); 
     
    381387            { 
    382388                rep = "./resources/visu/ddu/lidar/o3_strato"; 
    383                 station = "DDUModelAndView"; 
     389                station = "DDU"; 
    384390                if( year.compareTo( "1970" ) == 0 ) 
    385391                { 
Note: See TracChangeset for help on using the changeset viewer.