[569] | 1 | <%@ page language="java" contentType="text/html; charset=UTF-8"%> |
---|
| 2 | <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%> |
---|
| 3 | <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%> |
---|
| 4 | <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%> |
---|
| 5 | <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%> |
---|
| 6 | <%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested"%> |
---|
| 7 | |
---|
| 8 | <tiles:insert page="/resources/templates/templateMegapoli.jsp" flush="true"> |
---|
| 9 | |
---|
| 10 | <tiles:put name="insertCss" type="string"></tiles:put> |
---|
| 11 | <tiles:put name="insertJsOrJsp" type="string"></tiles:put> |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.capt4"/></tiles:put> |
---|
| 15 | <tiles:put name="nav" type="string"> |
---|
| 16 | <html:link page="/index.jsp"><bean:message key="app.home"/></html:link> > |
---|
| 17 | <html:link page="/data?methodName=viewCatalogResume"><bean:message key="data.access"/></html:link> > |
---|
| 18 | <html:link page="/CapteursAccess.do"><bean:message key="data.access.capt"/></html:link> |
---|
| 19 | </tiles:put> |
---|
| 20 | |
---|
| 21 | <%--****************** CONTENT ****************** --%> |
---|
| 22 | <nested:root name="capteurForm"> |
---|
| 23 | |
---|
| 24 | <tiles:put name="bodytitle" type="string"> |
---|
| 25 | <nested:nest property="capteur"> |
---|
| 26 | <bean:message key="data.access.capt1"/> : |
---|
| 27 | <nested:nest property="typeCapteur"> |
---|
| 28 | <nested:write property="typeCapteurNom"/> |
---|
| 29 | </nested:nest> |
---|
| 30 | <nested:notEqual property="capteurModele" value="UNKNOWN"> |
---|
| 31 | - <nested:write property="capteurModele"/> |
---|
| 32 | </nested:notEqual> |
---|
| 33 | <nested:notEqual property="fabriquant.fabriquantNom" value="UNKNOWN"> |
---|
| 34 | - <nested:write property="fabriquant.fabriquantNom"/> |
---|
| 35 | </nested:notEqual> |
---|
| 36 | <nested:notEqual property="capteurNumserie" value="UNKNOWN"> |
---|
| 37 | (<bean:message key="data.access.capt.nums"/> : <nested:write property="capteurNumserie"/>) |
---|
| 38 | </nested:notEqual> |
---|
| 39 | </nested:nest> |
---|
| 40 | </tiles:put> |
---|
| 41 | |
---|
| 42 | <tiles:put name="body" type="string"> |
---|
| 43 | <logic:present name="<%=org.apache.struts.Globals.ERROR_KEY%>"> |
---|
| 44 | <div id="errors"><html:errors/></div> |
---|
| 45 | </logic:present> |
---|
| 46 | |
---|
| 47 | <div id="messages"> |
---|
| 48 | <html:messages id="mess" property="<%= org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE %>" message="true"> |
---|
| 49 | <bean:write name="mess"/> |
---|
| 50 | </html:messages> |
---|
| 51 | </div> |
---|
| 52 | |
---|
| 53 | <nested:notEqual property="path" value=""> |
---|
| 54 | <nested:define id="chemin" property="path"/> |
---|
| 55 | <% |
---|
| 56 | String dataSet; |
---|
| 57 | if (((String)chemin).lastIndexOf("/")!=-1){ |
---|
| 58 | dataSet = ((String)chemin).substring(((String)chemin).lastIndexOf("/")+1,((String)chemin).lastIndexOf("_")); |
---|
| 59 | } else { |
---|
| 60 | dataSet = (String)chemin; |
---|
| 61 | } |
---|
| 62 | %> |
---|
| 63 | <bean:define id="nomJeu" value="<%=dataSet%>"/> |
---|
| 64 | <div class="submit"> |
---|
| 65 | <html:link page="/MetadataInfo.do" paramName="chemin" paramId="metadataUri" titleKey="data.access.metadata.link"> |
---|
| 66 | <bean:message key="app.access.metadata.back"/> <bean:write name="nomJeu"/> |
---|
| 67 | </html:link> |
---|
| 68 | </div> |
---|
| 69 | </nested:notEqual> |
---|
| 70 | |
---|
| 71 | <table> |
---|
| 72 | <nested:nest property="capteur"> |
---|
| 73 | <tr><th> |
---|
| 74 | <nested:nest property="typeCapteur"> |
---|
| 75 | <bean:message key="data.upload.metadata.capteur.type"/> : <nested:write property="typeCapteurNom"/> |
---|
| 76 | </nested:nest> |
---|
| 77 | </th></tr> |
---|
| 78 | <nested:notEqual property="capteurDescription" value=""> |
---|
| 79 | <tr><td> |
---|
| 80 | <bean:message key="data.metadata.desc"/> : <nested:write property="capteurDescription"/> |
---|
| 81 | </td></tr> |
---|
| 82 | </nested:notEqual> |
---|
| 83 | <nested:nest property="fabriquant"> |
---|
| 84 | <tr><td> |
---|
| 85 | <bean:message key="data.upload.metadata.capteur.fab"/> : <nested:write property="fabriquantNom"/> |
---|
| 86 | </td></tr> |
---|
| 87 | </nested:nest> |
---|
| 88 | <nested:notEqual property="capteurModele" value=""> |
---|
| 89 | <tr><td> |
---|
| 90 | <bean:message key="data.upload.metadata.capteur.modele"/> : <nested:write property="capteurModele"/> |
---|
| 91 | </td></tr> |
---|
| 92 | </nested:notEqual> |
---|
| 93 | <nested:notEqual property="capteurNumserie" value=""> |
---|
| 94 | <tr><td> |
---|
| 95 | <bean:message key="data.upload.metadata.capteur.nums"/> : <nested:write property="capteurNumserie"/> |
---|
| 96 | </td></tr> |
---|
| 97 | </nested:notEqual> |
---|
| 98 | <nested:notEqual property="capteurEtalonnage" value=""> |
---|
| 99 | <tr><td> |
---|
| 100 | <bean:message key="data.upload.metadata.capteur.etalon"/> : <nested:write property="capteurEtalonnage"/> |
---|
| 101 | </td></tr> |
---|
| 102 | </nested:notEqual> |
---|
| 103 | </nested:nest> |
---|
| 104 | <tr> |
---|
| 105 | <td> </td> |
---|
| 106 | </tr> |
---|
| 107 | <tr> |
---|
| 108 | <td> |
---|
| 109 | <nested:size id="nbPlats" property="plateformes"/> |
---|
| 110 | <div id="messages"><bean:message key="data.access.plat3"/> (<bean:write name="nbPlats"/>) :</div> |
---|
| 111 | </td> |
---|
| 112 | </tr> |
---|
| 113 | <nested:iterate property="plateformes" indexId="platId"> |
---|
| 114 | <tr> |
---|
| 115 | <td> |
---|
| 116 | <nested:define id="id" property="plateformeId"/> |
---|
| 117 | <html:link page="/DescPlateforme.do" titleKey="data.access.plat4" paramName="id" paramId="idPlat"> |
---|
| 118 | <nested:write property="plateformeNom"/> |
---|
| 119 | </html:link> |
---|
| 120 | </td> |
---|
| 121 | </tr> |
---|
| 122 | </nested:iterate> |
---|
| 123 | <tr> |
---|
| 124 | <td> </td> |
---|
| 125 | </tr> |
---|
| 126 | </table> |
---|
| 127 | <nested:size id="nbParams" property="parametres"/> |
---|
| 128 | <table> |
---|
| 129 | <tr> |
---|
| 130 | <td> |
---|
| 131 | <div id="messages"><bean:message key="data.access.param3"/> (<bean:write name="nbParams"/>) :</div> |
---|
| 132 | </td> |
---|
| 133 | </tr> |
---|
| 134 | <nested:iterate property="parametres" indexId="paramId"> |
---|
| 135 | <tr> |
---|
| 136 | <td> |
---|
| 137 | <nested:define id="id" property="parametreId"/> |
---|
| 138 | <html:link page="/DescParametre.do" titleKey="data.access.param4" paramName="id" paramId="idParam"> |
---|
| 139 | <nested:write property="parametreNom"/> (<nested:write property="parametreCode"/>) |
---|
| 140 | </html:link> |
---|
| 141 | </td> |
---|
| 142 | </tr> |
---|
| 143 | </nested:iterate> |
---|
| 144 | <tr> |
---|
| 145 | <td> </td> |
---|
| 146 | </tr> |
---|
| 147 | </table> |
---|
| 148 | <nested:size id="nbJeux" property="jeux"/> |
---|
| 149 | <table> |
---|
| 150 | <tr> |
---|
| 151 | <td> |
---|
| 152 | <div id="messages"><bean:message key="data.access.jeux2"/> (<bean:write name="nbJeux"/>) :</div> |
---|
| 153 | </td> |
---|
| 154 | </tr> |
---|
| 155 | <nested:iterate property="jeux" indexId="jeuId"> |
---|
| 156 | <tr> |
---|
| 157 | <td> |
---|
| 158 | <nested:define id="id" property="jeuId"/> |
---|
| 159 | <html:link page="/MetadataInfo.do" titleKey="data.access.metadata.link" paramName="id" paramId="idJeu"> |
---|
| 160 | <nested:write property="jeuNom"/> |
---|
| 161 | </html:link> |
---|
| 162 | <bean:define id="download" value="download"/> |
---|
| 163 | <nested:notEqual property="nbFichiers" value="0"> |
---|
| 164 | (<a onclick='javascript:neededLogin("/FichiersAccess.do?idJeu=<nested:write property="jeuId"/>")' title='<bean:message key="data.access.download.file"/>'> |
---|
| 165 | <nested:write property="nbFichiers"/> <bean:message key="data.access.metadata.files"/> |
---|
| 166 | </a>) |
---|
| 167 | </nested:notEqual> |
---|
| 168 | </td> |
---|
| 169 | </tr> |
---|
| 170 | </nested:iterate> |
---|
| 171 | </table> |
---|
| 172 | |
---|
| 173 | <div class="hdp" align="right"> |
---|
| 174 | <html:link href="#top" titleKey="app.hdp"> |
---|
| 175 | <html:img page="/resources/images/utils/fleche_haut.gif" width="20px" height="20px"/> |
---|
| 176 | </html:link> |
---|
| 177 | </div> |
---|
| 178 | |
---|
| 179 | </tiles:put> |
---|
| 180 | </nested:root> |
---|
| 181 | </tiles:insert> |
---|