Changeset 382


Ignore:
Timestamp:
03/01/12 14:49:30 (12 years ago)
Author:
vmipsl
Message:

clean

Location:
tapas
Files:
15 added
7 edited
5 copied

Legend:

Unmodified
Added
Removed
  • tapas/common/implementation/com/ether/Context.java

    r362 r382  
    4848    public static String getSimpleDate() 
    4949    { 
    50         java.util.Calendar c = java.util.Calendar.getInstance(); 
     50        Calendar c = Calendar.getInstance(); 
    5151        String t = "0" + ( c.get( Calendar.MONTH ) + 1 ); 
    5252        return c.get( Calendar.YEAR ) + t.substring( t.length() - 2 ) + c.get( Calendar.DAY_OF_MONTH ); 
  • tapas/common/implementation/com/ether/WebException.java

    r376 r382  
    33/** 
    44 * @author vmipsl 
    5  * @date 02 feb 2011  
     5 * @date 02 feb 2011 
    66 */ 
    7 public class WebException  
    8         extends FormattedException 
     7public class WebException 
     8        extends FormattedException 
    99{ 
    10     public WebException(final Enum<? extends Code> code) { 
    11         super(code); 
    12         } 
    13  
    14         public WebException(final Enum<? extends Code> code, final Throwable cause, final Object... parameters) { 
    15         this(code, cause.getMessage(), cause, parameters); 
     10    public WebException( final Enum<? extends Code> code ) 
     11    { 
     12        super( code ); 
    1613    } 
    1714 
    18     protected WebException(final Enum<? extends Code> code, final String message, final Throwable cause, final Object... parameters) { 
    19         super(prefix(code, message), cause, parameters); 
     15    public WebException( final Enum<? extends Code> code, final Throwable cause, final Object... parameters ) 
     16    { 
     17        this( code, cause.getMessage(), cause, parameters ); 
    2018    } 
    2119 
    22         public WebException(final Throwable cause) { 
    23                 super(cause); 
    24         } 
     20    protected WebException( final Enum<? extends Code> code, final String message, final Throwable cause, final Object... parameters ) 
     21    { 
     22        super( prefix( code, message ), cause, parameters ); 
     23    } 
    2524 
    26         public WebException( final Enum<? extends Code> code, final String string) { 
    27                 super(code, string); 
    28         } 
     25    public WebException( final Throwable cause ) 
     26    { 
     27        super( cause ); 
     28    } 
    2929 
    30         public static enum WebCode implements Code  
     30    public WebException( final Enum<? extends Code> code, final String string ) 
    3131    { 
    32                 UNKNOWN,  
    33                 PERSISTENCE,  
    34                 SERVICE_PROBLEM, 
    35                 IO_EXCEPTION_ERROR_TO_GET_OUTPUTSTREAM, 
    36                 ERROR_UNSUPPORTED_UTF8_ENCODING, 
    37                 ERROR_NO_REQUEST_HANDLING_METHOD, 
     32        super( code, string ); 
     33    } 
     34 
     35    public static enum WebCode 
     36            implements Code 
     37    { 
     38        UNKNOWN, 
     39        PERSISTENCE, 
     40        SERVICE_PROBLEM, 
     41        IO_EXCEPTION_ERROR_TO_GET_OUTPUTSTREAM, 
     42        ERROR_UNSUPPORTED_UTF8_ENCODING, 
     43        ERROR_NO_REQUEST_HANDLING_METHOD, 
    3844        ERROR_NUMBER_OF_PARAM_TYPES_NOT_EQUAL_TO_PARAM_ANNOTATIONS, 
     45        PLATEFORM_NOT_FOUND, 
     46        PARAMETER_NOT_FOUND 
     47 
    3948    } 
    4049} 
  • tapas/web/WEB-INF/servlet-context.xml

    r378 r382  
    3838        <property name="mappings"> 
    3939            <props> 
    40                 <prop key="/visualization">controller</prop> 
     40                <prop key="/project">controller</prop> 
    4141            </props> 
    4242        </property> 
  • tapas/web/WEB-INF/web.xml

    r379 r382  
    5151    <!--SERVLETS --> 
    5252    <servlet> 
    53         <servlet-name>visualization</servlet-name> 
     53        <servlet-name>eponge</servlet-name> 
    5454        <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> 
    5555        <init-param> 
     
    6262 
    6363    <servlet-mapping> 
    64         <servlet-name>visualization</servlet-name> 
    65         <url-pattern>/visualization</url-pattern> 
     64        <servlet-name>eponge</servlet-name> 
     65        <url-pattern>/project</url-pattern> 
     66    </servlet-mapping> 
     67 
     68    <servlet-mapping> 
     69        <servlet-name>eponge</servlet-name> 
     70        <url-pattern>/backoffice</url-pattern> 
    6671    </servlet-mapping> 
    6772 
  • tapas/web/index.jsp

    r376 r382  
    11<%--This redirect is used to allow messages sources in the index page--%> 
    2 <jsp:forward page="visualization?methodName=home"/> 
     2<jsp:forward page="project?methodName=home"/> 
  • tapas/web/init.jsp

    r377 r382  
    1 <%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> 
    2 <%@ page contentType="text/html;charset=UTF-8" language="java" %> 
    3  
    4 <html> 
    5 <head> 
    6     <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> 
    7     <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> 
    8  
    9     <title>Project source</title> 
    10 </head> 
    11  
    12 <body> 
    13  
    14 <spring:message code="label.language" htmlEscape="true"/> : <spring:message code="language" htmlEscape="true"/> 
    15  
    16                  ddddd 
    17  
    18 <br/><br/> 
    19  
    20 <spring:message code="text.change.language" htmlEscape="true"/> 
    21 <br/> 
    22 <spring:message code="label.language" htmlEscape="true"/> : <a href="visualization?methodName=home&language=en"><spring:message code="label.language.en" htmlEscape="true"/></a> 
    23 | <a href="visualization?methodName=home&language=fr"><spring:message code="label.language.fr" htmlEscape="true"/></a> 
    24  
    25 <hr> 
    26 <h3><spring:message code="titre.init" htmlEscape="true"/></h3> 
    27 <hr> 
    28  
    29 <table width="100%"> 
    30     <tr> 
    31         <td> 
    32             <a href="visualization?methodName=view"><spring:message code="text.visu.href" htmlEscape="true"/></a> 
    33         </td> 
    34         <td><spring:message code="text.visu" htmlEscape="true"/></td> 
    35     </tr> 
    36  
    37     <tr> 
    38         <td> 
    39             <a href="visualization?methodName=viewAllPlateforms"><spring:message code="text.visu.pf.href" htmlEscape="true"/></a> 
    40         </td> 
    41         <td><spring:message code="text.visu.pf" htmlEscape="true"/></td> 
    42     </tr> 
    43  
    44 </table> 
    45  
    46 </body> 
    47 </html> 
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
     2 
     3<HTML> 
     4<HEAD> 
     5 
     6    <!-- 
     7        This website is powered by TYPO3 - inspiring people to share! 
     8        TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL. 
     9        TYPO3 is copyright 1998-2011 of Kasper Skaarhoj. Extensions are copyright of their respective owners. 
     10        Information and contribution at http://typo3.com/ and http://typo3.org/ 
     11    --> 
     12 
     13 
     14    <title>Home</title> 
     15    <meta name="generator" content="TYPO3 4.5 CMS"> 
     16 
     17    <%--<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_8206de3b91.css?1328259586" media="all">--%> 
     18    <link rel="stylesheet" type="text/css" href="resources/css/button.css?1328628640" media="all"> 
     19    <link rel="stylesheet" type="text/css" href="resources/css/complexButton.css?1328628639" media="all"> 
     20    <link rel="stylesheet" type="text/css" href="resources/css/mainEther.css?1329153338" media="all"> 
     21    <link rel="stylesheet" type="text/css" href="resources/css/ether.css?1330098282" media="all"> 
     22    <%--<link rel="stylesheet" type="text/css" href="resources/css/craftyslide.css?1329831680" media="all">--%> 
     23    <%--<link rel="stylesheet" type="text/css" href="resources/css/verticalSlide.css?1328628640" media="all">--%> 
     24 
     25 
     26    <script src="resources/js/library/jquery-1.4.2.min.js?1328628639" type="text/javascript"></script> 
     27    <script src="resources/js/library/jquery.class.js?1328628639" type="text/javascript"></script> 
     28    <script src="resources/js/library/jquery.protify-0.3.js?1328628639" type="text/javascript"></script> 
     29    <script src="resources/js/classesForJQuery/etherHelper.js?1328628639" type="text/javascript"></script> 
     30    <script src="resources/js/classesForJQuery/Button.js?1328628639" type="text/javascript"></script> 
     31    <script src="resources/templates/templateEther_script.js?1330094269" type="text/javascript"></script> 
     32    <%--<script src="resources/js/craftedpixelz-Craftyslide-4cd0adb/js/craftyslide.min.js?1329745481" type="text/javascript"></script>--%> 
     33    <%--<script src="resources/js/classesForJQuery/VerticalSlide.js?1328628639" type="text/javascript"></script>--%> 
     34    <%--<script src="resources/js/vTicker/jquery.vticker.js" type="text/javascript"></script>--%> 
     35    <script src="init_script.js?1330001580" type="text/javascript"></script> 
     36    <%--<script src="typo3temp/javascript_93077bb238.js?1269888601" type="text/javascript"></script>--%> 
     37</HEAD> 
     38 
     39<BODY> 
     40 
     41 
     42<div class="pageWrapper"> 
     43 
     44 
     45<div id="title_tools" class="containerTitleTools"> 
     46    <div class="containerLogoTitleNav"> 
     47        <div class="containerLogoTitle"> 
     48            <div id="logoEther" class="containerLogoEther"> 
     49                <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1434&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_Ether.jpg" 
     50                                                                                            width="80px" height="80px"/></a> 
     51            </div> 
     52 
     53            <div id="title" class="containerTitle"> 
     54                <!-- ###TITLE1### Start-->Centre for Atmospheric Chemistry<!-- ###TITLE1### End--><BR/> 
     55 
     56                <div class="containerTitlePart2"><!-- ###TITLE2### Start-->Products and Services<!-- ###TITLE2### End--></div> 
     57            </div> 
     58        </div> 
     59 
     60        <div id="nav" class="containerNav"> 
     61            &nbsp;<A href='index.php?id=1434&L=1' class='navig'>Home</A> 
     62        </div> 
     63    </div> 
     64 
     65    <div class="containerToolsMenus"> 
     66        <div id="tools" class="containerTools" align="right"></div> 
     67 
     68        <div id="menu" class="containerMenu"></div> 
     69        <div id="subMenu" class="containerSubMenu"></div> 
     70    </div> 
     71 
     72</div> 
     73 
     74 
     75<div class="pageWrapper_2"> 
     76<div id="newsImages" class="containerEther containerNewsImages"> 
     77    <div id="slideshow"> 
     78        <ul> 
     79            <li> 
     80                <center><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/reprobus.jpg" 
     81                                                                                                    alt="" title="Reprobus map for the TRO-pico campaign 380K"/></img></a></center> 
     82            </li> 
     83            <li> 
     84                <center><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/reprobus1.jpg" 
     85                                                                                                    alt="" title="Reprobus map for the TRO-pico campaign 475K"/></img></a></center> 
     86            </li> 
     87            <li> 
     88                <center><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/reprobus2.jpg" 
     89                                                                                                    alt="" title="Reprobus map for the TRO-pico campaign 675K"/></img></a></center> 
     90            </li> 
     91 
     92        </ul> 
     93 
     94 
     95    </div> 
     96</div> 
     97 
     98<div id="newsTexts" class="containerEther containerNewsTexts"> 
     99    <div class="containerNewsTextsTitle">News</div> 
     100    <div id="scrollNews" class="containerScrollNews"> 
     101        <ul> 
     102            <li><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1">February 2012 : Achille N8 newsletter </a></li> 
     103            <li><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1">Février 2012 : TRO-pico balloon campaign</a></li> 
     104            <li><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1">13 march 2012 : Ether users committee meeting</a></li> 
     105            <li><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1">3 et 4 mai 2012 : Revex Ether </a></li> 
     106            <li><a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1">Tapas project</a></li> 
     107        </ul> 
     108    </div> 
     109</div> 
     110 
     111 
     112<div id="slides" class="containerSlides"> 
     113<div id="slide_activities" class="containerSlide"> 
     114    <div id="slide_activities_title" class="containerSlideTitle activated"> 
     115        <div class="containerSlideTitle_image"></div> 
     116        <div class="containerSlideTitle_text">ETHER MAIN ACTIVITIES</div> 
     117    </div> 
     118    <div id="slide_activities_content" class="containerSlideContent" style="display: block;"> 
     119        <table class="slideTable"> 
     120            <tr> 
     121                <td id="tdMimosa"> 
     122                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     123                        <div class="slideTableTitle">MIMOSA</div> 
     124                        <img id="logoMimosa" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_mimosa.png" width="80px" alt='logo.mimosa.alt' 
     125                             title='logo.mimosa.alt'/> 
     126                    </a> 
     127                </td> 
     128 
     129                <td id="tdReprobus"> 
     130                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     131                        <div class="slideTableTitle">REPROBUS</div> 
     132                        <img id="logoReprobus" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_O3_reprobus.png" width="80px" alt='logo.reprobus.alt' 
     133                             title='logo.reprobus.alt'/> 
     134                    </a> 
     135 
     136                <td id="tdIasi"> 
     137                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     138                        <div class="slideTableTitle">IASI</div> 
     139                        <img id="logoIasi" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_iasi.jpg" width="80px" alt='logo.iasi.alt' title='logo.iasi.alt'/> 
     140                    </a> 
     141                </td> 
     142 
     143                <td id="tdTropico"> 
     144                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     145                        <div class="slideTableTitle">TRO-pico</div> 
     146                        <img id="logoTropico" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_tropico_small.jpg" width="80px" alt='logo.tropico.alt' 
     147                             title='logo.tropico.alt'/> 
     148                    </a> 
     149                </td> 
     150 
     151                <td id="tdGeisa"> 
     152                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1438&L=1"> 
     153                        <div class="slideTableTitle">GEISA</div> 
     154                        <img id="logoGeisa" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_Geisa76-50deform.jpg" width="80px" alt='logo.geisa.alt' 
     155                             title='logo.geisa.alt'/> 
     156                    </a> 
     157                </td> 
     158 
     159                <td id="tdMozaic"> 
     160                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     161                        <div class="slideTableTitle">Mozaic</div> 
     162                        <img id="logoMozaic" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_mozaic.GIF" width="80px" alt='logo.geisa.alt' 
     163                             title='logo.geisa.alt'/> 
     164                    </a> 
     165                </td> 
     166 
     167                <td id="tdEccad"> 
     168                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     169                        <div class="slideTableTitle">ECCAD</div> 
     170                        <img id="logoEccad" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_ECCAD_small.gif" width="80px" alt='logo.eccad.alt' 
     171                             title='logo.eccad.alt'/> 
     172                    </a> 
     173                </td> 
     174 
     175                <td id="tdMegapoli"> 
     176                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     177                        <div class="slideTableTitle">MEGAPOLI</div> 
     178                        <img id="logoMegapoli" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_Megapoli.png" width="80px" alt='logo.megapoli.alt' 
     179                             title='logo.megapoli.alt'/> 
     180                    </a> 
     181                </td> 
     182            </tr> 
     183        </table> 
     184        &nbsp; 
     185 
     186        <script type="text/javascript"> 
     187            $( "#tdMimosa" ).bind( "mouseover", function() 
     188            { 
     189                $( "#logoMimosa" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_mimosa_hover.png"} ); 
     190            } ); 
     191            $( "#tdMimosa" ).bind( "mouseout", function() 
     192            { 
     193                $( "#logoMimosa" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_mimosa.png"} ); 
     194            } ); 
     195 
     196            $( "#tdReprobus" ).bind( "mouseover", function() 
     197            { 
     198                $( "#logoReprobus" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_O3_reprobus_hover.png"} ); 
     199            } ); 
     200            $( "#tdReprobus" ).bind( "mouseout", function() 
     201            { 
     202                $( "#logoReprobus" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_O3_reprobus.png"} ); 
     203            } ); 
     204 
     205            $( "#tdIasi" ).bind( "mouseover", function() 
     206            { 
     207                $( "#logoIasi" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_iasi_hover.jpg"} ); 
     208            } ); 
     209            $( "#tdIasi" ).bind( "mouseout", function() 
     210            { 
     211                $( "#logoIasi" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_iasi.jpg"} ); 
     212            } ); 
     213 
     214            $( "#tdTropico" ).bind( "mouseover", function() 
     215            { 
     216                $( "#logoTropico" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_tropico_small_hover.jpg"} ); 
     217            } ); 
     218            $( "#tdTropico" ).bind( "mouseout", function() 
     219            { 
     220                $( "#logoTropico" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_tropico_small.jpg"} ); 
     221            } ); 
     222 
     223            $( "#tdGeisa" ).bind( "mouseover", function() 
     224            { 
     225                $( "#logoGeisa" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Geisa76-50deform_hover.jpg"} ); 
     226            } ); 
     227            $( "#tdGeisa" ).bind( "mouseout", function() 
     228            { 
     229                $( "#logoGeisa" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Geisa76-50deform.jpg"} ); 
     230            } ); 
     231 
     232            $( "#tdMozaic" ).bind( "mouseover", function() 
     233            { 
     234                $( "#logoMozaic" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_mozaic_hover.GIF"} ); 
     235            } ); 
     236            $( "#tdMozaic" ).bind( "mouseout", function() 
     237            { 
     238                $( "#logoMozaic" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_mozaic.GIF"} ); 
     239            } ); 
     240 
     241            $( "#tdEccad" ).bind( "mouseover", function() 
     242            { 
     243                $( "#logoEccad" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ECCAD_small_hover.gif"} ); 
     244            } ); 
     245            $( "#tdEccad" ).bind( "mouseout", function() 
     246            { 
     247                $( "#logoEccad" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ECCAD_small.gif"} ); 
     248            } ); 
     249 
     250            $( "#tdMegapoli" ).bind( "mouseover", function() 
     251            { 
     252                $( "#logoMegapoli" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Megapoli_hover.png"} ); 
     253            } ); 
     254            $( "#tdMegapoli" ).bind( "mouseout", function() 
     255            { 
     256                $( "#logoMegapoli" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Megapoli.png"} ); 
     257            } ); 
     258        </script> 
     259 
     260 
     261    </div> 
     262</div> 
     263<div id="slide_data" class="containerSlide"> 
     264    <div id="slide_data_title" class="containerSlideTitle"> 
     265        <div class="containerSlideTitle_image"></div> 
     266        <div class="containerSlideTitle_text">DATA</div> 
     267    </div> 
     268    <div id="slide_data_content" class="containerSlideContent" style="display: none;"> 
     269        <table class="slideTable"> 
     270            <tr> 
     271                <td id="tdBallon"> 
     272                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     273                        <div class="slideTableTitle">Ballon</div> 
     274                        <img id="logoBallon" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_ballon_s.gif" width="80px" alt='logo.ballon.alt' 
     275                             title='logo.ballon.alt'/> 
     276                    </a> 
     277                </td> 
     278 
     279                <td id="tdSatellites"> 
     280                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     281                        <div class="slideTableTitle">Satellites</div> 
     282                        <img id="logoSatellites" src="fileadmin/template/ether/frames/Maquette1/resources/images/satellite-s.jpg" width="80px" alt='logo.satellites.alt' 
     283                             title='logo.satellites.alt'/> 
     284                    </a> 
     285 
     286                <td id="tdCampaign"> 
     287                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     288                        <div class="slideTableTitle">Campagnes</div> 
     289                        <img id="logoCampaign" src="fileadmin/template/ether/frames/Maquette1/resources/images/campagne-s.jpg" width="80px" alt='logo.campaign.alt' 
     290                             title='logo.campaign.alt'/> 
     291                    </a> 
     292                </td> 
     293 
     294                <td id="tdModels"> 
     295                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     296                        <div class="slideTableTitle">ModÚles</div> 
     297                        <img id="logoModels" src="fileadmin/template/ether/frames/Maquette1/resources/images/modele-s.gif" width="80px" alt='logo.models.alt' 
     298                             title='logo.tropico.alt'/> 
     299                    </a> 
     300                </td> 
     301 
     302                <td id="tdMeteo"> 
     303                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     304                        <div class="slideTableTitle">Meteo</div> 
     305                        <img id="logoMeteo" src="fileadmin/template/ether/frames/Maquette1/resources/images/meteo-s.jpg" width="80px" alt='logo.meteo.alt' title='logo.meteo.alt'/> 
     306                    </a> 
     307                </td> 
     308 
     309                <td id="tdLinks"> 
     310                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     311                        <div class="slideTableTitle">Liens</div> 
     312                        <img id="logoLinks" src="fileadmin/template/ether/frames/Maquette1/resources/images/liens-s.gif" width="80px" alt='logo.links.alt' title='logo.links.alt'/> 
     313                    </a> 
     314                </td> 
     315 
     316 
     317            </tr> 
     318        </table> 
     319        &nbsp; 
     320 
     321        <script type="text/javascript"> 
     322            $( "#tdBallon" ).bind( "mouseover", function() 
     323            { 
     324                $( "#logoBallon" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ballon_s_hover.gif"} ); 
     325            } ); 
     326            $( "#tdBallon" ).bind( "mouseout", function() 
     327            { 
     328                $( "#logoBallon" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ballon_s.gif"} ); 
     329            } ); 
     330 
     331            $( "#tdSatellites" ).bind( "mouseover", function() 
     332            { 
     333                $( "#logoSatellites" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/satellite-s_hover.jpg"} ); 
     334            } ); 
     335            $( "#tdSatellites" ).bind( "mouseout", function() 
     336            { 
     337                $( "#logoSatellites" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/satellite-s.jpg"} ); 
     338            } ); 
     339 
     340            $( "#tdCampaign" ).bind( "mouseover", function() 
     341            { 
     342                $( "#logoCampaign" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/campagne-s_hover.jpg"} ); 
     343            } ); 
     344            $( "#tdCampaign" ).bind( "mouseout", function() 
     345            { 
     346                $( "#logoCampaign" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/campagne-s.jpg"} ); 
     347            } ); 
     348 
     349            $( "#tdModels" ).bind( "mouseover", function() 
     350            { 
     351                $( "#logoModels" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/modele-s_hover.gif"} ); 
     352            } ); 
     353            $( "#tdModels" ).bind( "mouseout", function() 
     354            { 
     355                $( "#logoModels" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/modele-s.gif"} ); 
     356            } ); 
     357 
     358            $( "#tdMeteo" ).bind( "mouseover", function() 
     359            { 
     360                $( "#logoMeteo" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/meteo-s_hover.jpg"} ); 
     361            } ); 
     362            $( "#tdMeteo" ).bind( "mouseout", function() 
     363            { 
     364                $( "#logoMeteo" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/meteo-s.jpg"} ); 
     365            } ); 
     366 
     367            $( "#tdLinks" ).bind( "mouseover", function() 
     368            { 
     369                $( "#logoLinks" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/liens-s_hover.gif"} ); 
     370            } ); 
     371            $( "#tdLinks" ).bind( "mouseout", function() 
     372            { 
     373                $( "#logoLinks" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/liens-s.gif"} ); 
     374            } ); 
     375 
     376        </script> 
     377 
     378 
     379    </div> 
     380</div> 
     381<div id="slide_databases" class="containerSlide"> 
     382    <div id="slide_databases_title" class="containerSlideTitle"> 
     383        <div class="containerSlideTitle_image"></div> 
     384        <div class="containerSlideTitle_text">DATABASES</div> 
     385    </div> 
     386    <div id="slide_databases_content" class="containerSlideContent" style="display: none;"> 
     387        <table class="slideTable"> 
     388            <tr> 
     389                <td id="tdRamces"> 
     390                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     391                        <div class="slideTableTitle">RAMCES</div> 
     392                        <img id="logoRamces" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_ramces.gif" width="80px" alt='logo.ramces.alt' 
     393                             title='logo.ramces.alt'/> 
     394                    </a> 
     395                </td> 
     396 
     397                <td id="tdKinetics"> 
     398                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     399                        <div class="slideTableTitle">Kinetics</div> 
     400                        <img id="logoKinetics" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_cine-chim.jpg" width="80px" alt='logo.kinetics.alt' 
     401                             title='logo.kinetics.alt'/> 
     402                    </a> 
     403                </td> 
     404                <td id="tdNdacc"> 
     405                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     406                        <div class="slideTableTitle">NDACC</div> 
     407                        <img id="logoNdacc" src="fileadmin/template/ether/frames/Maquette1/resources/images/Ndacc-s.jpg" width="80px" alt='logo.Ndacc.alt' title='logo.Ndacc.alt'/> 
     408                    </a> 
     409                </td> 
     410                <td id="tdGeisa_Databases"> 
     411                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     412                        <div class="slideTableTitle">GEISA</div> 
     413                        <img id="logoGeisa_Databases" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_Geisa76-50deform.jpg" width="80px" alt='logo.geisa.alt' 
     414                             title='logo.geisa.alt'/> 
     415                    </a> 
     416                </td> 
     417 
     418                <td id="tdMozaic_Databases"> 
     419                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     420                        <div class="slideTableTitle">Mozaic</div> 
     421                        <img id="logoMozaic_Databases" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_mozaic.GIF" width="80px" alt='logo.geisa.alt' 
     422                             title='logo.geisa.alt'/> 
     423                    </a> 
     424                </td> 
     425 
     426                <td id="tdEccad_Databases"> 
     427                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     428                        <div class="slideTableTitle">ECCAD</div> 
     429                        <img id="logoEccad_Databases" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_ECCAD_small.gif" width="80px" alt='logo.eccad.alt' 
     430                             title='logo.eccad.alt'/> 
     431                    </a> 
     432                </td> 
     433 
     434                <td id="tdMegapoli_Databases"> 
     435                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     436                        <div class="slideTableTitle">MEGAPOLI</div> 
     437                        <img id="logoMegapoli_Databases" src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_Megapoli.png" width="80px" alt='logo.megapoli.alt' 
     438                             title='logo.megapoli.alt'/> 
     439                    </a> 
     440                </td> 
     441            </tr> 
     442        </table> 
     443        &nbsp; 
     444 
     445        <script type="text/javascript"> 
     446            $( "#tdRamces" ).bind( "mouseover", function() 
     447            { 
     448                $( "#logoRamces" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ramces_hover.gif"} ); 
     449            } ); 
     450            $( "#tdRamces" ).bind( "mouseout", function() 
     451            { 
     452                $( "#logoRamces" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ramces.gif"} ); 
     453            } ); 
     454 
     455            $( "#tdKinetics" ).bind( "mouseover", function() 
     456            { 
     457                $( "#logoKinetics" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_cine-chim_hover.jpg"} ); 
     458            } ); 
     459            $( "#tdKinetics" ).bind( "mouseout", function() 
     460            { 
     461                $( "#logoKinetics" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_cine-chim.jpg"} ); 
     462            } ); 
     463 
     464            $( "#tdNdacc" ).bind( "mouseover", function() 
     465            { 
     466                $( "#logoNdacc" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/Ndacc-s_hover.jpg"} ); 
     467            } ); 
     468            $( "#tdNdacc" ).bind( "mouseout", function() 
     469            { 
     470                $( "#logoNdacc" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/Ndacc-s.jpg"} ); 
     471            } ); 
     472 
     473            $( "#tdGeisa_Databases" ).bind( "mouseover", function() 
     474            { 
     475                $( "#logoGeisa_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Geisa76-50deform_hover.jpg"} ); 
     476            } ); 
     477            $( "#tdGeisa_Databases" ).bind( "mouseout", function() 
     478            { 
     479                $( "#logoGeisa_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Geisa76-50deform.jpg"} ); 
     480            } ); 
     481 
     482            $( "#tdMozaic_Databases" ).bind( "mouseover", function() 
     483            { 
     484                $( "#logoMozaic_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_mozaic_hover.GIF"} ); 
     485            } ); 
     486            $( "#tdMozaic_Databases" ).bind( "mouseout", function() 
     487            { 
     488                $( "#logoMozaic_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_mozaic.GIF"} ); 
     489            } ); 
     490 
     491            $( "#tdEccad_Databases" ).bind( "mouseover", function() 
     492            { 
     493                $( "#logoEccad_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ECCAD_small_hover.gif"} ); 
     494            } ); 
     495            $( "#tdEccad_Databases" ).bind( "mouseout", function() 
     496            { 
     497                $( "#logoEccad_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_ECCAD_small.gif"} ); 
     498            } ); 
     499 
     500            $( "#tdMegapoli_Databases" ).bind( "mouseover", function() 
     501            { 
     502                $( "#logoMegapoli_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Megapoli_hover.png"} ); 
     503            } ); 
     504            $( "#tdMegapoli_Databases" ).bind( "mouseout", function() 
     505            { 
     506                $( "#logoMegapoli_Databases" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logo_Megapoli.png"} ); 
     507            } ); 
     508        </script> 
     509 
     510 
     511    </div> 
     512</div> 
     513<div id="slide_services" class="containerSlide"> 
     514    <div id="slide_services_title" class="containerSlideTitle"> 
     515        <div class="containerSlideTitle_image"></div> 
     516        <div class="containerSlideTitle_text">SERVICES</div> 
     517    </div> 
     518    <div id="slide_services_content" class="containerSlideContent" style="display: none;"> 
     519        <table class="slideTable"> 
     520            <tr> 
     521                <td id="tdArletty"> 
     522                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     523                        <div class="slideTableTitle">Arletty</div> 
     524                        <img id="logoArletty" src="fileadmin/template/ether/frames/Maquette1/resources/images/arletty.jpg" width="80px" alt='logo.arletty.alt' 
     525                             title='logo.arletty.alt'/> 
     526                    </a> 
     527                </td> 
     528 
     529                <td id="tdGirafe"> 
     530                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     531                        <div class="slideTableTitle">Girafe</div> 
     532                        <img id="logoGirafe" src="fileadmin/template/ether/frames/Maquette1/resources/images/girafe.JPG" width="80px" alt='logo.girafe.alt' 
     533                             title='logo.girafe.alt'/> 
     534                    </a> 
     535 
     536                <td id="tdsoftware"> 
     537                    <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1"> 
     538                        <div class="slideTableTitle">Logiciel</div> 
     539                        <img id="logosoftware" src="fileadmin/template/ether/frames/Maquette1/resources/images/logiciels.gif" width="80px" alt='logo.software.alt' 
     540                             title='logo.software.alt'/> 
     541                    </a> 
     542                </td> 
     543 
     544            </tr> 
     545        </table> 
     546        &nbsp; 
     547 
     548        <script type="text/javascript"> 
     549            $( "#tdArletty" ).bind( "mouseover", function() 
     550            { 
     551                $( "#logoArletty" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/arletty_hover.jpg"} ); 
     552            } ); 
     553            $( "#tdArletty" ).bind( "mouseout", function() 
     554            { 
     555                $( "#logoArletty" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/arletty.jpg"} ); 
     556            } ); 
     557 
     558            $( "#tdGirafe" ).bind( "mouseover", function() 
     559            { 
     560                $( "#logoGirafe" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/girafe_hover.JPG"} ); 
     561            } ); 
     562            $( "#tdGirafe" ).bind( "mouseout", function() 
     563            { 
     564                $( "#logoGirafe" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/girafe.JPG"} ); 
     565            } ); 
     566 
     567            $( "#tdsoftware" ).bind( "mouseover", function() 
     568            { 
     569                $( "#logosoftware" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logiciels_hover.gif"} ); 
     570            } ); 
     571            $( "#tdsoftware" ).bind( "mouseout", function() 
     572            { 
     573                $( "#logosoftware" ).attr( {src:"fileadmin/template/ether/frames/Maquette1/resources/images/logiciels.gif"} ); 
     574            } ); 
     575 
     576        </script> 
     577 
     578 
     579    </div> 
     580</div> 
     581 
     582 
     583<script type="text/javascript"> 
     584    var initTexts = $A( "" ); 
     585 
     586    initTexts["home.main.activities"] = 'Principales Activitées'; 
     587    initTexts["home.data"] = 'Données'; 
     588    initTexts["home.databases"] = 'Base de données'; 
     589    initTexts["home.services"] = 'Services'; 
     590 
     591    var interfaceInit = new InterfaceInit(); 
     592</script> 
     593 
     594 
     595</div> 
     596 
     597 
     598<div id="bottom" class="containerEther containerBottom" align="right"> 
     599    <div class="containerBottomUpdate"> 
     600        <span style="font-size:70% ; ">Last update : 2012/02/14</span> 
     601    </div> 
     602    <div class="containerBottomInfo"> 
     603        <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1440&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/icons/arrow_red_right.png"/> Legals</a>&nbsp;&nbsp;&nbsp; 
     604        <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1444&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/icons/arrow_yellow_right.png"/> Credits</a>&nbsp;&nbsp;&nbsp; 
     605        <a href="http://naboo.private.ipsl.fr/etherTypo/index.php?id=1443&L=1"><img src="fileadmin/template/ether/frames/Maquette1/resources/icons/arrow_blue_2_right.png"/> 
     606            Informations</a> 
     607    </div> 
     608    <div class="containerBottomLogo"> 
     609        <a href="http://www.cnrs.fr/index.php" target="_blank"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_cnrs_t.png"/></a>&nbsp;&nbsp;&nbsp; 
     610        <a href="http://www.cnes.fr/web/CNES-en/7114-home-cnes.php" target="_blank"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_cnes_t.png"/></a>&nbsp;&nbsp;&nbsp; 
     611        <a href="http://www.ipsl.fr/en/" target="_blank"><img src="fileadmin/template/ether/frames/Maquette1/resources/images/logo_ipsl_t.png"/></a></div> 
     612</div> 
     613 
     614<div class="containerWhite"></div> 
     615 
     616</div> 
     617 
     618<script type="text/javascript"> 
     619    var templateTexts = $A( "" ); 
     620    templateTexts["label.home"] = 'Home'; 
     621    templateTexts["language.to.en"] = 'English'; 
     622    templateTexts["language.to.fr"] = 'French'; 
     623    templateTexts["label.map"] = 'Map'; 
     624 
     625    templateTexts["label.users"] = 'Ether users'; 
     626    templateTexts["label.login.request"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Login request</a>'; 
     627    templateTexts["label.users.space"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Users space</a>'; 
     628    templateTexts["label.order.tracking"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Order tracking</a>'; 
     629    templateTexts["label.user.rights"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">User rights</a>'; 
     630 
     631    templateTexts["label.data.services"] = 'Data/Services'; 
     632    templateTexts["label.experiments"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Experiments</a>'; 
     633    templateTexts["label.models"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Models</a>'; 
     634    templateTexts["label.software"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Software</a>'; 
     635 
     636    templateTexts["label.community"] = 'Community'; 
     637    templateTexts["label.pole.presentation"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Pole presentation</a>'; 
     638    templateTexts["label.users.committee"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1441&L=1\">Users committee</a>'; 
     639    templateTexts["label.informations"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Informations</a>'; 
     640    templateTexts["label.programs"] = '<a href=\"http://naboo.private.ipsl.fr/etherTypo/index.php?id=1445&L=1\">Programs</a>'; 
     641 
     642    var interfaceTemplate = new InterfaceTemplate(); 
     643</script> 
     644 
     645 
     646</BODY> 
     647</HTML> 
  • tapas/web/src/com/ether/Controller.java

    r376 r382  
    99import org.jetbrains.annotations.NotNull; 
    1010import org.springframework.beans.factory.annotation.Required; 
    11 import org.springframework.web.servlet.ModelAndView; 
    1211 
    13 import javax.servlet.http.HttpServletRequest; 
    14 import javax.servlet.http.HttpServletResponse; 
    1512import java.util.HashMap; 
    1613import java.util.List; 
     
    3431            throws WebException 
    3532    { 
    36          return new HashMap<String, Object>(); 
     33        return new HashMap<String, Object>(); 
    3734    } 
    3835 
    3936    @ControllerMethod(view = VIEW_VISUALIZATION) 
    4037    public Map<String, Object> view() 
    41             throws ServiceException 
     38            throws WebException 
    4239    { 
    4340        return new HashMap<String, Object>(); 
     
    4643    @ControllerMethod(view = VIEW_VISUALIZATION_PLATEFORM) 
    4744    public Map<String, Object> viewAllPlateforms() 
    48             throws ServiceException 
     45            throws WebException 
    4946    { 
    50         final List<Plateform> plateforms = _etherService.getAllPlateforms(); 
     47        try 
     48        { 
     49            final List<Plateform> plateforms = _etherService.getAllPlateforms(); 
    5150 
    52         final Map<String, Object> model = new HashMap<String, Object>(); 
    53         model.put( "plateforms", getJsonHelper().toJSON( plateforms ) ); 
    54         return model; 
     51            final Map<String, Object> model = new HashMap<String, Object>(); 
     52            model.put( "plateforms", getJsonHelper().toJSON( plateforms ) ); 
     53            return model; 
     54        } 
     55        catch( ServiceException e ) 
     56        { 
     57            throw new WebException( WebException.WebCode.PLATEFORM_NOT_FOUND, e ); 
     58        } 
    5559    } 
    5660 
     
    6266    @ControllerMethod(jsonResult = true) 
    6367    public JSONObject searchParametersByPlateform( @Mandatory @ParamName(ParameterConstants.PARAMETER_ID) final Integer plateformId ) 
    64             throws ServiceException, WebException 
     68            throws WebException 
    6569    { 
     70        try 
     71        { 
     72 
    6673//        final List<Parameter> parameters = new ArrayList<Parameter>( 3 ); 
    6774//        parameters.add( new Parameter( Long.valueOf( 1 ), "parameter1" ) ); 
     
    6976//        parameters.add( new Parameter( Long.valueOf( 3 ), "parameter3" ) ); 
    7077 
    71         final List<Parameter> parameters = _etherService.getAllParametersByPlateformId( plateformId ); 
    72         final JSONObject result = new JSONObject(); 
    73         result.put( "parameters", getJsonHelper().toJSON( parameters ) ); 
    74         return result; 
     78            final List<Parameter> parameters = _etherService.getAllParametersByPlateformId( plateformId ); 
     79            final JSONObject result = new JSONObject(); 
     80            result.put( "parameters", getJsonHelper().toJSON( parameters ) ); 
     81            return result; 
     82        } 
     83        catch( ServiceException e ) 
     84        { 
     85            throw new WebException( WebException.WebCode.PARAMETER_NOT_FOUND, e ); 
     86        } 
    7587    } 
    7688 
  • tapas/web/src/com/ether/WebException.java

    r376 r382  
    3838                ERROR_NO_REQUEST_HANDLING_METHOD, 
    3939                ERROR_NUMBER_OF_PARAM_TYPES_NOT_EQUAL_TO_PARAM_ANNOTATIONS, 
     40        PLATEFORM_NOT_FOUND, 
     41        PARAMETER_NOT_FOUND 
    4042    } 
    4143} 
Note: See TracChangeset for help on using the changeset viewer.