1 | <%@ page import="com.medias.Context" contentType="text/html; charset=UTF-8"%> |
---|
2 | <%@ page import="com.medias.Context" %> |
---|
3 | <%@ page language="java" contentType="text/html; charset=UTF-8"%> |
---|
4 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%> |
---|
5 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%> |
---|
6 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%> |
---|
7 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%> |
---|
8 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%> |
---|
9 | |
---|
10 | <tiles:insert page="/resources/templates/template.jsp" flush="true"> |
---|
11 | |
---|
12 | <bean:define type="java.lang.String" id="relativePath" value="<%=Context.getRelativePath(request)%>"/> |
---|
13 | |
---|
14 | <tiles:put name="nav" value='<%=relativePath+"/navPlat.jsp"%>'/> |
---|
15 | |
---|
16 | <tiles:put name="title" type="string"> |
---|
17 | <bean:message key="app.title"/> - <bean:message key="data.access.plat4"/> |
---|
18 | </tiles:put> |
---|
19 | |
---|
20 | <nested:root name="plateformeForm"> |
---|
21 | |
---|
22 | <tiles:put name="bodytitle" type="string"> |
---|
23 | <nested:nest property="plateforme"> |
---|
24 | <bean:message key="data.access.plat1"/> : <nested:write property="plateformeNom"/> |
---|
25 | </nested:nest> |
---|
26 | </tiles:put> |
---|
27 | |
---|
28 | <tiles:put name="body" type="string"> |
---|
29 | <div id="errors"><html:errors/></div> |
---|
30 | <div id="messages"> |
---|
31 | <html:messages id="mess" property="<%= org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE %>" message="true"> |
---|
32 | <bean:write name="mess"/> |
---|
33 | </html:messages> |
---|
34 | </div> |
---|
35 | |
---|
36 | <nested:notEqual property="path" value=""> |
---|
37 | <nested:define id="chemin" property="path"/> |
---|
38 | <% |
---|
39 | String dataSet; |
---|
40 | if (((String)chemin).lastIndexOf("/")!=-1){ |
---|
41 | dataSet = ((String)chemin).substring(((String)chemin).lastIndexOf("/")+1,((String)chemin).lastIndexOf("_")); |
---|
42 | } else { |
---|
43 | dataSet = (String)chemin; |
---|
44 | } |
---|
45 | %> |
---|
46 | <bean:define id="nomJeu" value="<%=dataSet%>"/> |
---|
47 | <div class="submit"> |
---|
48 | <html:link page="/MetadataInfo.do" paramName="chemin" paramId="metadataUri" titleKey="data.access.metadata.link"> |
---|
49 | <bean:message key="app.access.metadata.back"/> <bean:write name="nomJeu"/> |
---|
50 | </html:link> |
---|
51 | </div> |
---|
52 | </nested:notEqual> |
---|
53 | |
---|
54 | <table> |
---|
55 | <nested:nest property="plateforme"> |
---|
56 | <tr><th/> |
---|
57 | <nested:nest property="typePlateforme"> |
---|
58 | <bean:message key="data.access.metadata.plat.type"/> : <nested:write property="typePlateformeNom"/> |
---|
59 | </nested:nest> |
---|
60 | </th></tr> |
---|
61 | <nested:notEqual property="plateformeDescription" value=""> |
---|
62 | <tr><td> |
---|
63 | <bean:message key="data.metadata.desc"/> : <nested:write property="plateformeDescription"/> |
---|
64 | </td></tr> |
---|
65 | </nested:notEqual> |
---|
66 | </nested:nest> |
---|
67 | <nested:define id="latMax" property="latMax"/> |
---|
68 | <nested:define id="lonMax" property="lonMax"/> |
---|
69 | <nested:define id="altMax" property="altMax"/> |
---|
70 | <%--nested:define id="hsMax" property="hsMax"/--%> |
---|
71 | <nested:notEqual property="latMin" value="${latMax}"> |
---|
72 | <tr><td> |
---|
73 | <bean:message key="data.access.plat.latmin"/> : <nested:write property="latMin"/> <bean:message key="unit.deg"/> |
---|
74 | </td></tr> |
---|
75 | <tr><td> |
---|
76 | <bean:message key="data.access.plat.latmax"/> : <bean:write name="latMax"/> <bean:message key="unit.deg"/> |
---|
77 | </td></tr> |
---|
78 | </nested:notEqual> |
---|
79 | <nested:equal property="latMin" value="${latMax}"> |
---|
80 | <tr><td> |
---|
81 | <bean:message key="data.access.plat.lat"/> : <nested:write property="latMin"/> <bean:message key="unit.deg"/> |
---|
82 | </td></tr> |
---|
83 | </nested:equal> |
---|
84 | <nested:notEqual property="lonMin" value="${lonMax}"> |
---|
85 | <tr><td> |
---|
86 | <bean:message key="data.access.plat.lonmin"/> : <nested:write property="lonMin"/> <bean:message key="unit.deg"/> |
---|
87 | </td></tr> |
---|
88 | <tr><td> |
---|
89 | <bean:message key="data.access.plat.lonmax"/> : <bean:write name="lonMax"/> <bean:message key="unit.deg"/> |
---|
90 | </td></tr> |
---|
91 | </nested:notEqual> |
---|
92 | <nested:equal property="lonMin" value="${lonMax}"> |
---|
93 | <tr><td> |
---|
94 | <bean:message key="data.access.plat.lon"/> : <nested:write property="lonMin"/> <bean:message key="unit.deg"/> |
---|
95 | </td></tr> |
---|
96 | </nested:equal> |
---|
97 | <nested:notEqual property="altMin" value="${altMax}"> |
---|
98 | <tr><td> |
---|
99 | <bean:message key="data.access.plat.altmin"/> : <nested:write property="altMin"/> m |
---|
100 | </td></tr> |
---|
101 | <tr><td> |
---|
102 | <bean:message key="data.access.plat.altmax"/> : <bean:write name="altMax"/> m |
---|
103 | </td></tr> |
---|
104 | </nested:notEqual> |
---|
105 | <nested:equal property="altMin" value="${altMax}"> |
---|
106 | <tr><td> |
---|
107 | <bean:message key="data.access.plat.alt"/> : <nested:write property="altMin"/> m |
---|
108 | </td></tr> |
---|
109 | </nested:equal> |
---|
110 | <%--nested:notEqual property="hsMax" value="-1000000"> |
---|
111 | <nested:notEqual property="hsMin" value="${hsMax}"> |
---|
112 | <tr><td> |
---|
113 | <bean:message key="data.access.plat.hsmin"/> : <nested:write property="hsMin"/> |
---|
114 | </td></tr> |
---|
115 | <tr><td> |
---|
116 | <bean:message key="data.access.plat.hsmax"/> : <bean:write name="hsMax"/> |
---|
117 | </td></tr> |
---|
118 | </nested:notEqual> |
---|
119 | <nested:equal property="hsMin" value="${hsMax}"> |
---|
120 | <tr><td> |
---|
121 | <bean:message key="data.access.plat.hs"/> : <nested:write property="hsMin"/> |
---|
122 | </td></tr> |
---|
123 | </nested:equal> |
---|
124 | </nested:notEqual--%> |
---|
125 | <tr> |
---|
126 | <td> </td> |
---|
127 | </tr> |
---|
128 | </table> |
---|
129 | <nested:iterate property="images" indexId="imId"> |
---|
130 | <nested:define id="pathImg" property=""/> |
---|
131 | <logic:notEqual name="pathImg" value=""> |
---|
132 | <nested:equal name="imId" value="0"> |
---|
133 | <table> |
---|
134 | <tr> |
---|
135 | <td> |
---|
136 | <div id="messages"><bean:message key="data.upload.metadata.plat.img"/> :</div> |
---|
137 | </td> |
---|
138 | </tr> |
---|
139 | </table> |
---|
140 | </nested:equal> |
---|
141 | <table> |
---|
142 | <tr> |
---|
143 | <td> |
---|
144 | <html:img src="${pathImg}" /> |
---|
145 | </td> |
---|
146 | </tr> |
---|
147 | </table> |
---|
148 | |
---|
149 | </logic:notEqual> |
---|
150 | </nested:iterate> |
---|
151 | <nested:size id="nbCapts" property="capteurs"/> |
---|
152 | <table> |
---|
153 | <tr> |
---|
154 | <td> |
---|
155 | <div id="messages"><bean:message key="data.access.capt3"/> (<bean:write name="nbCapts"/>) :</div> |
---|
156 | </td> |
---|
157 | </tr> |
---|
158 | <nested:iterate property="capteurs" indexId="captId"> |
---|
159 | <tr> |
---|
160 | <td> |
---|
161 | - |
---|
162 | <nested:define id="id" property="capteurId"/> |
---|
163 | <html:link page="/DescCapteur.do" titleKey="data.access.capt4" paramName="id" paramId="idCapt"> |
---|
164 | <nested:nest property="typeCapteur"> |
---|
165 | <b><nested:write property="typeCapteurNom"/></b> |
---|
166 | </nested:nest> |
---|
167 | <nested:notEqual property="capteurModele" value="UNKNOWN"> |
---|
168 | - <nested:write property="capteurModele"/> |
---|
169 | </nested:notEqual> |
---|
170 | <nested:notEqual property="capteurNumserie" value="UNKNOWN"> |
---|
171 | (<bean:message key="data.access.capt.nums"/> : <nested:write property="capteurNumserie"/>) |
---|
172 | </nested:notEqual> |
---|
173 | </html:link> |
---|
174 | </td> |
---|
175 | </tr> |
---|
176 | </nested:iterate> |
---|
177 | <tr> |
---|
178 | <td> </td> |
---|
179 | </tr> |
---|
180 | <tr> |
---|
181 | <td> |
---|
182 | <nested:size id="nbParams" property="parametres"/> |
---|
183 | <div id="messages"><bean:message key="data.access.param3"/> (<bean:write name="nbParams"/>) :</div> |
---|
184 | </td> |
---|
185 | </tr> |
---|
186 | <nested:iterate property="parametres" indexId="paramId"> |
---|
187 | <tr> |
---|
188 | <td> |
---|
189 | - |
---|
190 | <nested:define id="id" property="parametreId"/> |
---|
191 | <html:link page="/DescParametre.do" titleKey="data.access.param4" paramName="id" paramId="idParam"> |
---|
192 | <nested:write property="parametreNom"/> |
---|
193 | </html:link> |
---|
194 | </td> |
---|
195 | </tr> |
---|
196 | </nested:iterate> |
---|
197 | <tr> |
---|
198 | <td> </td> |
---|
199 | </tr> |
---|
200 | </table> |
---|
201 | <nested:size id="nbJeux" property="jeux"/> |
---|
202 | <table> |
---|
203 | <tr> |
---|
204 | <td> |
---|
205 | <div id="messages"><bean:message key="data.access.jeux2"/> (<bean:write name="nbJeux"/>) :</div> |
---|
206 | </td> |
---|
207 | </tr> |
---|
208 | <nested:iterate property="jeux" indexId="jeuId"> |
---|
209 | <tr> |
---|
210 | <td> |
---|
211 | - |
---|
212 | <nested:define id="id" property="jeuId"/> |
---|
213 | <html:link page="/MetadataInfo.do" titleKey="data.access.metadata.link" paramName="id" paramId="idJeu"> |
---|
214 | <nested:write property="jeuNom"/> |
---|
215 | </html:link> |
---|
216 | </td> |
---|
217 | </tr> |
---|
218 | </nested:iterate> |
---|
219 | </table> |
---|
220 | <div class="hdp" align="right"> |
---|
221 | <html:link page="/data/access/desc_plat.jsp" anchor="top" titleKey="app.hdp"> |
---|
222 | <html:img page="/resources/images/utils/hdp1.png"/> |
---|
223 | </html:link> |
---|
224 | </div> |
---|
225 | <div class="submit"> |
---|
226 | <html:link page="/PlateformesAccess.do"><bean:message key="app.access.plat.back"/></html:link> |
---|
227 | </div> |
---|
228 | </tiles:put> |
---|
229 | </nested:root> |
---|
230 | </tiles:insert> |
---|