source: ether_megapoli/trunk/web/data/access.jsp @ 267

Last change on this file since 267 was 267, checked in by vmipsl, 13 years ago

BO User

  • Property svn:executable set to *
File size: 23.9 KB
Line 
1<%@ page language="java" contentType="text/html; charset=UTF-8"%>
2<%@ page import="com.medias.Calcul"%>
3<%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%>
4<%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
5<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
6<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
7<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%>
8<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %>
9
10<tiles:insert page="/resources/templates/templateMegapoli.jsp" flush="true">
11
12    <tiles:put name="insertCss" type="string"></tiles:put>
13
14    <tiles:put name="insertJsOrJsp" type="string">
15        <ether:htmlJs jsFile="maj"/>
16        <ether:htmlJs jsFile="medias/ajax"/>
17        <ether:htmlJs jsFile="medias/scw"/>
18    </tiles:put>
19
20    <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.extract"/></tiles:put>
21    <tiles:put name="nav" type="string">
22        <html:link page="/index.jsp"><bean:message key="app.home"/></html:link>&nbsp;&gt;
23        <html:link page="/data?methodName=viewDataResume"><bean:message key="app.data"/></html:link>&nbsp;&gt;
24        <html:link page="/DataAccess.do"><bean:message key="data.access.extract"/></html:link>
25    </tiles:put>
26
27    <%--****************** CONTENT ****************** --%>
28        <tiles:put name="bodytitle" type="string"><bean:message key="data.access.extract"/></tiles:put>
29
30        <tiles:put name="body" type="string">
31                <span class="legende" style="font-size: 12px"><bean:message key="app.mandatory2"/></span><br/>
32        <logic:present name="<%=org.apache.struts.Globals.ERROR_KEY%>">
33            <div id="errors">
34                <div><html:errors property="latMax"/></div>
35                <div><html:errors property="lonMax"/></div>
36                <div><html:errors property="dateFin"/></div>
37            </div>
38        </logic:present>
39
40        <div id="messages">
41                        <html:messages id="mess" property="<%=org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE%>" message="true">
42                                <bean:write name="mess"/>
43                        </html:messages>
44                </div>
45        <br/>
46
47                <html:form action="/DataSubmit">
48
49                <nested:root name="datasForm">
50                <table class="roundTable" border="1">
51                        <tr>
52
53                <td width="250px" rowspan="2" valign="top">
54                <%--************************************************ --%>
55                <%--****************** PLATEFORMS ****************** --%>
56                <%--************************************************ --%>
57                                <table width="100%">
58                                        <tr>
59                                                <th class="titleBox">
60                                                        <input type="checkbox" onclick="selAll(this.checked,'selectPlats','nbPlatsTxt')" title="<bean:message key="data.access.selall"/>"/>
61                                                        <bean:message key="data.access.plat"/> <span id="nbPlatsTxt" style="visibility: hidden;display: none">(<bean:write name="datasForm" property="nbSelectedPlats"/>)</span>
62                                                </th>
63                                        </tr>
64                                        <tr>
65                                                <td>
66                                                        <div style="height: 150px; overflow: auto" id="listPlateformes">
67                                                        <bean:define id="nomTypePlatPrec" value=""/>
68                                                        <nested:iterate property="plateformes" indexId="platId">
69                                                                <nested:nest property="typePlateforme">
70                                                                        <nested:define id="idTypePlat" property="typePlateformeId"/>
71                                                                        <nested:notEqual property="typePlateformeNom" value="${nomTypePlatPrec}">
72                                                                                <div class="titleType">
73                                                                                        <input type="button" value="+" class="smallButton" onclick="affPlat(${idTypePlat})" id="plusPlat_${idTypePlat}"/>
74                                                                                        <nested:equal property="typePlateformeNom" value="FIXED">
75                                                                                                <bean:message key="data.access.plat.fixe2"/>
76                                                                                        </nested:equal>
77                                                                                        <nested:equal property="typePlateformeNom" value="MOBILE">
78                                                                                                <bean:message key="data.access.plat.mobile2"/>
79                                                                                        </nested:equal>
80                                                                                </div>
81                                                                        </nested:notEqual>
82                                                                        <nested:define id="nomTypePlatPrec" property="typePlateformeNom" type="java.lang.String"/>
83                                                                </nested:nest>
84                                                                <bean:define type="java.lang.String" id="parite" value="<%=Calcul.getParite(platId.intValue())%>"/>
85                                                                <logic:equal name="parite" value="pair"><bean:define id="classPlat" value="pair"/></logic:equal>
86                                                                <logic:equal name="parite" value="impair"><bean:define id="classPlat" value="impair"/></logic:equal>
87                                                                <nested:define id="idP" property="plateformeId"/>
88                                                                <table class="${classPlat}" id="plat_${idTypePlat}_${platId}" style="visibility: hidden; display: none;">
89                                                                        <tr>
90                                                                                <td nowrap style="font-size: 11px">
91                                                                                        <html:multibox property="selectPlats" value="${idP}" onchange="selectElem(this.checked,'nbPlatsTxt')"/>
92                                                                                        <html:link page="/DescPlateforme.do" titleKey="data.access.plat4" paramName="idP" paramId="idPlat" styleClass="elementExtract">
93                                                                                                <nested:write property="plateformeNom"/>
94                                                                                        </html:link>
95                                                                                </td>
96                                                                        </tr>
97                                                                </table>
98                                                        </nested:iterate>
99                                                        </div>
100                                                </td>
101                                        </tr>
102                                </table>
103                            </td>
104
105                <td width="250px" rowspan="2" valign="top">
106                <%--************************************************ --%>
107                <%--****************** DATA SETS ******************* --%>
108                <%--************************************************ --%>
109                                <table width="100%">
110                                        <tr>
111                                                <th class="titleBox">
112                                                        <input type="checkbox" onclick="selAll(this.checked,'selectJeux','nbJeuxTxt')" title="<bean:message key="data.access.selall"/>"/>
113                                                        <bean:message key="data.access.jeux"/> <span id="nbJeuxTxt" style="visibility: hidden;display: none">(<bean:write name="datasForm" property="nbSelectedJeux"/>)</span>
114                                                </th>
115                                        </tr>
116                                        <tr>
117                                                <td>
118                                                        <div style="height: 150px; overflow: auto" id="listJeux">
119                                                        <bean:define id="nomCatJeuPrec" value=""/>
120                                                        <nested:iterate property="jeux" indexId="jId">
121                                                                <nested:nest property="categorie">
122                                                                        <nested:define id="idCatJeu" property="categorieId"/>
123                                                                        <nested:notEqual property="categorieNom" value="${nomCatJeuPrec}">
124                                                                                <div class="titleType">
125                                                                                        <input type="button" value="+" class="smallButton" onclick="affJeu(${idCatJeu})" id="plusJeu_${idCatJeu}"/>
126                                                                                        <nested:equal property="categorieNom" value="AVION">
127                                                                                                <bean:message key="data.categ1"/>
128                                                                                        </nested:equal>
129                                                                                        <nested:equal property="categorieNom" value="SURF_FIXE">
130                                                                                                <bean:message key="data.categ2"/>
131                                                                                        </nested:equal>
132                                                                                        <nested:equal property="categorieNom" value="SURF_MOBILE">
133                                                                                                <bean:message key="data.categ3"/>
134                                                                                        </nested:equal>
135                                                                                </div>
136                                                                        </nested:notEqual>
137                                                                        <nested:define id="nomCatJeuPrec" property="categorieNom" type="java.lang.String"/>
138                                                                </nested:nest>
139                                                                <bean:define type="java.lang.String" id="parite" value="<%=Calcul.getParite(jId.intValue())%>"/>
140                                                                <logic:equal name="parite" value="pair"><bean:define id="classJeu" value="pair"/></logic:equal>
141                                                                <logic:equal name="parite" value="impair"><bean:define id="classJeu" value="impair"/></logic:equal>
142                                                                <nested:define id="idJ" property="jeuId"/>
143                                                                <table class="${classJeu}" id="jeu_${idCatJeu}_${jId}" style="visibility: hidden; display: none;">
144                                                                        <tr>
145                                                                                <td nowrap style="font-size: 11px">
146                                                                                        <html:multibox property="selectJeux" value="${idJ}" onchange="selectElem(this.checked,'nbJeuxTxt')"/>
147                                                                                        <html:link page="/MetadataInfo.do" paramName="idJ" paramId="idJeu" titleKey="data.access.metadata.link">
148                                                                                                <nested:write property="jeuNom"/>
149                                                                                        </html:link>
150                                                                                </td>
151                                                                        </tr>
152                                                                </table>
153                                                        </nested:iterate>
154                                                        </div>
155                                                </td>
156                                        </tr>
157                                </table>
158                        </td>
159
160                <td width="250px" valign="top">
161                <%--************************************************ --%>
162                <%--******************** PERIOD ******************** --%>
163                <%--************************************************ --%>
164                                <table width="100%">
165                                        <tr>
166                                                <th class="titleBox" colspan="3"><bean:message key="data.access.period"/> (<bean:message key="data.access.period.format"/>)</th>
167                                        </tr>
168                                        <tr>
169                                                <td width="50px" class="titleType"><bean:message key="data.access.period.beg"/> *</td>
170                                                <td width="100px">
171                                                        <html:text property="dateDeb" size="10" maxlength="10" readonly="true" styleId="idDate1"/>
172                                                </td>
173                                                <td valign="middle">
174                                                        <html:img page="/resources/images/utils/calendar.gif" alt="cal" onclick="scwShowHide(scwID('idDate1'),event);"/>
175                                            </td>
176                                        </tr>
177                                        <tr>
178                                                <td class="titleType"><bean:message key="data.access.period.end"/> *</td>
179                                                <td><html:text property="dateFin" size="10" maxlength="10" readonly="true" styleId="idDate2"/></td>
180                                                <td valign="middle">
181                                                        <html:img page="/resources/images/utils/calendar.gif" alt="cal" onclick="scwShowHide(scwID('idDate2'),event);"/>
182                                            </td>
183                                        </tr>
184                                </table>
185                            </td>
186            </tr>
187
188            <tr>
189                <td valign="top">
190                <%--************************************************ --%>
191                <%--******************* ZONE... ******************** --%>
192                <%--************************************************ --%>
193                                <table width="100%">
194                                        <tr>
195                                                <th class="titleBox" colspan="2"><bean:message key="data.access.loc"/> (<bean:message key="data.access.loc.format"/>)</th>
196                                        </tr>
197                                        <tr>
198                                                <td class="titleType"><bean:message key="data.access.plat.lat"/> *</td>
199                                                <td class="titleType" nowrap><bean:message key="data.access.loc.inter"/> <html:text property="latMin" size="5"/> <bean:message key="data.access.loc.inter2"/> <html:text property="latMax" size="5"/></td>
200                                        </tr>
201                                        <tr>
202                                                <td class="titleType"><bean:message key="data.access.plat.lon"/> *</td>
203                                                <td class="titleType" nowrap><bean:message key="data.access.loc.inter"/> <html:text property="lonMin" size="5"/> <bean:message key="data.access.loc.inter2"/> <html:text property="lonMax" size="5"/></td>
204                                        </tr>
205                                </table>
206                            </td>
207            </tr>
208
209            <%--*************************************************************************************************** --%>
210
211                        <tr>
212                <td width="500px" colspan="2" valign="top">
213                <%--************************************************ --%>
214                <%--****************** PARAMETERS ****************** --%>
215                <%--************************************************ --%>
216                                <table width="100%">
217                                        <tr>
218                                                <th class="titleBox">
219                                                        <input type="checkbox" onclick="selAll(this.checked,'selectParams','nbParamsTxt')" title="<bean:message key="data.access.selall"/>"/>
220                                                        <bean:message key="data.access.param"/> <span id="nbParamsTxt" style="visibility: hidden;display: none">(<bean:write name="datasForm" property="nbSelectedParams"/>)</span>
221                                                </th>
222                                        </tr>
223                                        <tr>
224                                                <td>
225                                                        <div style="height: 200px; overflow: auto" id="listParametres">
226                                                        <bean:define id="nomCat1Prec" value=""/>
227                                                        <bean:define id="nomCat2Prec" value=""/>
228                                                        <bean:define id="nomCat3Prec" value=""/>
229                                                        <bean:define id="nomCat4Prec" value=""/>
230                                                        <bean:define id="idCat1" value="0"/>
231                                                        <bean:define id="idCat2" value="0"/>
232                                                        <bean:define id="idCat3" value="0"/>
233                                                        <bean:define id="idCat4" value="0"/>
234                                                        <nested:iterate property="parametres" indexId="paramId">
235                                                                <nested:nest property="categorieParam">
236                                                                        <nested:notEqual property="cat1" value="${nomCat1Prec}">
237                                                                                <bean:define id="idCat1" value="<%=Calcul.inc(idCat1)%>"/>
238                                                                                <bean:define id="paramLevel" value="${idCat1}-0-0-0"/>
239                                                                                <div class="titleType">
240                                                                                        <input type="button" value="-" class="smallButton" onclick="affParam(${idCat1},0,0,0,1,this.value)" id="plusParam_${paramLevel}"/>
241                                                                                        <nested:write property="cat1"/>
242                                                                                </div>
243                                                                                <nested:notEmpty property="cat2">
244                                                                                        <nested:notEqual property="cat2" value="${nomCat2Prec}">
245                                                                                                <bean:define id="idCat2" value="<%=Calcul.inc(idCat2)%>"/>
246                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-0-0"/>
247                                                                                                <div class="titleType" style="margin-left: 15px" id="catParam_${paramLevel}">
248                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},0,0,2,this.value)" id="plusParam_${paramLevel}"/>
249                                                                                                        <nested:write property="cat2"/>
250                                                                                                </div>
251                                                                                                <nested:notEmpty property="cat3">
252                                                                                                        <nested:notEqual property="cat3" value="${nomCat3Prec}">
253                                                                                                                <bean:define id="idCat3" value="<%=Calcul.inc(idCat3)%>"/>
254                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-0"/>
255                                                                                                                <div class="titleType" style="margin-left: 30px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
256                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},0,3,this.value)" id="plusParam_${paramLevel}"/>
257                                                                                                                        <nested:write property="cat3"/>
258                                                                                                                </div>
259                                                                                                                <nested:notEmpty property="cat4">
260                                                                                                                        <nested:notEqual property="cat4" value="${nomCat4Prec}">
261                                                                                                                                <bean:define id="idCat4" value="<%=Calcul.inc(idCat4)%>"/>
262                                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-${idCat4}"/>
263                                                                                                                                <div class="titleType" style="margin-left: 45px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
264                                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},${idCat4},4,this.value)" id="plusParam_${paramLevel}"/>
265                                                                                                                                        <nested:write property="cat4"/>
266                                                                                                                                </div>
267                                                                                                                        </nested:notEqual>
268                                                                                                                </nested:notEmpty>
269                                                                                                        </nested:notEqual>
270                                                                                                </nested:notEmpty>
271                                                                                        </nested:notEqual>
272                                                                                </nested:notEmpty>
273                                                                        </nested:notEqual>
274                                                                        <nested:equal property="cat1" value="${nomCat1Prec}">
275                                                                                <nested:notEmpty property="cat2">
276                                                                                        <nested:notEqual property="cat2" value="${nomCat2Prec}">
277                                                                                                <bean:define id="idCat2" value="<%=Calcul.inc(idCat2)%>"/>
278                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-0-0"/>
279                                                                                                <div class="titleType" style="margin-left: 15px" id="catParam_${paramLevel}">
280                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},0,0,2,this.value)" id="plusParam_${paramLevel}"/>
281                                                                                                        <nested:write property="cat2"/>
282                                                                                                </div>
283                                                                                                <nested:notEmpty property="cat3">
284                                                                                                        <nested:notEqual property="cat3" value="${nomCat3Prec}">
285                                                                                                                <bean:define id="idCat3" value="<%=Calcul.inc(idCat3)%>"/>
286                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-0"/>
287                                                                                                                <div class="titleType" style="margin-left: 30px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
288                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},0,3,this.value)" id="plusParam_${paramLevel}"/>
289                                                                                                                        <nested:write property="cat3"/>
290                                                                                                                </div>
291                                                                                                                <nested:notEmpty property="cat4">
292                                                                                                                        <nested:notEqual property="cat4" value="${nomCat4Prec}">
293                                                                                                                                <bean:define id="idCat4" value="<%=Calcul.inc(idCat4)%>"/>
294                                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-${idCat4}"/>
295                                                                                                                                <div class="titleType" style="margin-left: 45px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
296                                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},${idCat4},4,this.value)" id="plusParam_${paramLevel}"/>
297                                                                                                                                        <nested:write property="cat4"/>
298                                                                                                                                </div>
299                                                                                                                        </nested:notEqual>
300                                                                                                                </nested:notEmpty>
301                                                                                                        </nested:notEqual>
302                                                                                                </nested:notEmpty>
303                                                                                        </nested:notEqual>
304                                                                                        <nested:equal property="cat2" value="${nomCat2Prec}">
305                                                                                                <nested:notEmpty property="cat3">
306                                                                                                        <nested:notEqual property="cat3" value="${nomCat3Prec}">
307                                                                                                                <bean:define id="idCat3" value="<%=Calcul.inc(idCat3)%>"/>
308                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-0"/>
309                                                                                                                <div class="titleType" style="margin-left: 30px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
310                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},0,3,this.value)" id="plusParam_${paramLevel}"/>
311                                                                                                                        <nested:write property="cat3"/>
312                                                                                                                </div>
313                                                                                                                <nested:notEmpty property="cat4">
314                                                                                                                        <nested:notEqual property="cat4" value="${nomCat4Prec}">
315                                                                                                                                <bean:define id="idCat4" value="<%=Calcul.inc(idCat4)%>"/>
316                                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-${idCat4}"/>
317                                                                                                                                <div class="titleType" style="margin-left: 45px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
318                                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},${idCat4},4,this.value)" id="plusParam_${paramLevel}"/>
319                                                                                                                                        <nested:write property="cat4"/>
320                                                                                                                                </div>
321                                                                                                                        </nested:notEqual>
322                                                                                                                </nested:notEmpty>
323                                                                                                        </nested:notEqual>
324                                                                                                        <nested:equal property="cat3" value="${nomCat3Prec}">
325                                                                                                                <nested:notEmpty property="cat4">
326                                                                                                                        <nested:notEqual property="cat4" value="${nomCat4Prec}">
327                                                                                                                                <bean:define id="idCat4" value="<%=Calcul.inc(idCat4)%>"/>
328                                                                                                                                <bean:define id="paramLevel" value="${idCat1}-${idCat2}-${idCat3}-${idCat4}"/>
329                                                                                                                                <div class="titleType" style="margin-left: 45px; visibility: hidden; display: none;" id="catParam_${paramLevel}">
330                                                                                                                                        <input type="button" value="+" class="smallButton" onclick="affParam(${idCat1},${idCat2},${idCat3},${idCat4},4,this.value)" id="plusParam_${paramLevel}"/>
331                                                                                                                                        <nested:write property="cat4"/>
332                                                                                                                                </div>
333                                                                                                                        </nested:notEqual>
334                                                                                                                </nested:notEmpty>
335                                                                                                        </nested:equal>
336                                                                                                </nested:notEmpty>
337                                                                                        </nested:equal>
338                                                                                </nested:notEmpty>
339                                                                        </nested:equal>
340                                                                        <nested:define id="nomCat1Prec" property="cat1" type="java.lang.String"/>
341                                                                        <nested:define id="nomCat2Prec" property="cat2" type="java.lang.String"/>
342                                                                        <nested:define id="nomCat3Prec" property="cat3" type="java.lang.String"/>
343                                                                        <nested:define id="nomCat4Prec" property="cat4" type="java.lang.String"/>
344                                                                </nested:nest>
345                                                                <bean:define type="java.lang.String" id="parite" value="<%=Calcul.getParite(paramId.intValue())%>"/>
346                                                                <logic:equal name="parite" value="pair"><bean:define id="classParam" value="pair"/></logic:equal>
347                                                                <logic:equal name="parite" value="impair"><bean:define id="classParam" value="impair"/></logic:equal>
348                                                                <nested:define id="idPar" property="parametreId"/>
349                                                                <logic:match name="paramLevel" value="-0-0-0">
350                                                                        <bean:define id="decal" value="0"/>
351                                                                </logic:match>
352                                                                <logic:notMatch name="paramLevel" value="-0-0-0">
353                                                                        <logic:match name="paramLevel" value="-0-0">
354                                                                                <bean:define id="decal" value="15"/>
355                                                                        </logic:match>
356                                                                        <logic:notMatch name="paramLevel" value="-0-0">
357                                                                                <logic:match name="paramLevel" value="-0">
358                                                                                        <bean:define id="decal" value="30"/>
359                                                                                </logic:match>
360                                                                                <logic:notMatch name="paramLevel" value="-0">
361                                                                                        <bean:define id="decal" value="45"/>
362                                                                                </logic:notMatch>
363                                                                        </logic:notMatch>
364                                                                </logic:notMatch>
365                                                                <table class="${classParam}" id="param_${paramLevel}_${paramId}" style="visibility: hidden; display: none; margin-left: ${decal}px">
366                                                                        <tr>
367                                                                                <td nowrap style="font-size: 11px">
368                                                                                        <html:multibox property="selectParams" value="${idPar}" onchange="selectElem(this.checked,'nbParamsTxt')"/>
369                                                                                        <html:link page="/DescParametre.do" titleKey="data.access.param4" paramName="idPar" paramId="idParam">
370                                                                                                <nested:write property="parametreNom"/> (<nested:write property="parametreCode"/>)
371                                                                                        </html:link>
372                                                                                </td>
373                                                                        </tr>
374                                                                </table>
375                                                        </nested:iterate>
376                                                        </div>
377                                                </td>
378                                        </tr>
379                                </table>
380                            </td>
381
382                <td width="250px" valign="top">
383                <%--************************************************ --%>
384                <%--******************** SENSORS ******************* --%>
385                <%--************************************************ --%>
386                                <table width="100%">
387                                        <tr>
388                                                <th class="titleBox">
389                                                        <input type="checkbox" onclick="selAll(this.checked,'selectCapts','nbCaptsTxt')" title="<bean:message key="data.access.selall"/>"/>
390                                                        <bean:message key="data.access.capt"/> <span id="nbCaptsTxt" style="visibility: hidden;display: none">(<bean:write name="datasForm" property="nbSelectedCapts"/>)</span>
391                                                </th>
392                                        </tr>
393                                        <tr>
394                                                <td>
395                                                        <div style="height: 200px; overflow: auto" id="listCapteurs">
396                                                        <bean:define id="nomTypeCaptPrec" value=""/>
397                                                        <nested:iterate property="capteurs" indexId="captId">
398                                                                <nested:nest property="typeCapteur">
399                                                                        <nested:define id="idTypeCapt" property="typeCapteurId"/>
400                                                                        <nested:notEqual property="typeCapteurNom" value="${nomTypeCaptPrec}">
401                                                                                <div class="titleType"><input type="button" value="+" class="smallButton" onclick="affCapt(${idTypeCapt})" id="plusCapt_${idTypeCapt}"/>&nbsp;<nested:write property="typeCapteurNom"/></div>
402                                                                        </nested:notEqual>
403                                                                        <nested:define id="nomTypeCaptPrec" property="typeCapteurNom" type="java.lang.String"/>
404                                                                </nested:nest>
405                                                                <bean:define type="java.lang.String" id="parite" value="<%=Calcul.getParite(captId.intValue())%>"/>
406                                                                <logic:equal name="parite" value="pair"><bean:define id="classCapt" value="pair"/></logic:equal>
407                                                                <logic:equal name="parite" value="impair"><bean:define id="classCapt" value="impair"/></logic:equal>
408                                                                <nested:define id="idC" property="capteurId"/>
409                                                                <table class="${classCapt}" id="capt_${idTypeCapt}_${captId}" style="visibility: hidden; display: none;">
410                                                                        <tr>
411                                                                                <td nowrap style="font-size: 11px">
412                                                                                        <html:multibox property="selectCapts" value="${idC}" onchange="selectElem(this.checked,'nbCaptsTxt')"/>
413                                                                                        <html:link page="/DescCapteur.do" titleKey="data.access.capt4" paramName="idC" paramId="idCapt">
414                                                                                                <nested:equal property="capteurModele" value="UNKNOWN">
415                                                                                                        <nested:notEqual property="fabriquant.fabriquantNom" value="UNKNOWN">
416                                                                                                                <nested:write property="fabriquant.fabriquantNom"/>
417                                                                                                        </nested:notEqual>
418                                                                                                        <nested:equal property="fabriquant.fabriquantNom" value="UNKNOWN">
419                                                                                                                Unknown
420                                                                                                        </nested:equal>
421                                                                                                </nested:equal>
422                                                                                                <nested:notEqual property="capteurModele" value="UNKNOWN">
423                                                                                                        <nested:write property="capteurModele"/>
424                                                                                                        <nested:notEqual property="fabriquant.fabriquantNom" value="UNKNOWN">
425                                                                                                                - <nested:write property="fabriquant.fabriquantNom"/>
426                                                                                                        </nested:notEqual>
427                                                                                                </nested:notEqual>
428                                                                                        </html:link>
429                                                                                </td>
430                                                                        </tr>
431                                                                </table>
432                                                        </nested:iterate>
433                                                        </div>
434                                                </td>
435                                        </tr>
436                                </table>
437                            </td>
438            </tr>
439                </table>
440
441        <%--************************************************ --%>
442        <%--******************* BUTTONS ******************** --%>
443        <%--************************************************ --%>
444        <table width="100%">
445            <tr>
446                <td class="legende" align="left" style="font-size: 10px">* <bean:message key="app.mandatory"/></td>
447                <td align="right">
448                    <html:reset onclick="resetExtractForm()"><bean:message key="app.reset"/></html:reset>
449                    <html:submit><bean:message key="app.submit"/></html:submit>
450                </td>
451            </tr>
452        </table>
453
454        </nested:root>
455                </html:form>
456        </tiles:put>
457</tiles:insert>
Note: See TracBrowser for help on using the repository browser.