[247] | 1 | <%@ page language="java" contentType="text/html; charset=UTF-8"%> |
---|
[89] | 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 | |
---|
[247] | 9 | <tiles:insert page="/resources/templates/templateMegapoli.jsp" flush="true"> |
---|
[89] | 10 | |
---|
[247] | 11 | <tiles:put name="insertCss" type="string"></tiles:put> |
---|
| 12 | <tiles:put name="insertJsOrJsp" type="string"></tiles:put> |
---|
[89] | 13 | |
---|
| 14 | |
---|
[247] | 15 | <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.plat"/></tiles:put> |
---|
| 16 | <tiles:put name="nav" type="string"> |
---|
| 17 | <html:link page="/index.jsp"><bean:message key="app.home"/></html:link> > |
---|
| 18 | <html:link page="/data?methodName=viewCatalogResume"><bean:message key="data.access"/></html:link> > |
---|
[253] | 19 | <html:link page="/PlateformesAccess.do"><bean:message key="data.access.plat"/></html:link> |
---|
[247] | 20 | </tiles:put> |
---|
[89] | 21 | |
---|
[247] | 22 | <%--****************** CONTENT ****************** --%> |
---|
[254] | 23 | <tiles:put name="bodytitle" type="string"><bean:message key="data.access.plat"/></tiles:put> |
---|
[89] | 24 | |
---|
| 25 | <tiles:put name="body" type="string"> |
---|
| 26 | |
---|
| 27 | <div id="errors"><html:errors/></div> |
---|
| 28 | <div id="messages"> |
---|
| 29 | <html:messages id="mess" property="<%= org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE %>" message="true"> |
---|
| 30 | <bean:write name="mess"/> |
---|
| 31 | </html:messages> |
---|
| 32 | </div> |
---|
| 33 | |
---|
[161] | 34 | <%--div class="submit"> |
---|
[89] | 35 | <html:link page="/data/access/access.jsp"><bean:message key="data.access"/></html:link> |
---|
[161] | 36 | </div--%> |
---|
[89] | 37 | |
---|
| 38 | <nested:root name="plateformesForm"> |
---|
| 39 | <table> |
---|
| 40 | <tr><th/> |
---|
| 41 | <%--nested:define id="b_plateformes" property="plateformes"/> |
---|
| 42 | <bean:define type="java.lang.String" id="nbPlateformes" value="<%=(new Integer(((ArrayList)b_plateformes).size())).toString()%>"/--%> |
---|
| 43 | <nested:size id="nbPlateformes" property="plateformes"/> |
---|
| 44 | <bean:write name="nbPlateformes"/> |
---|
| 45 | <logic:equal name="nbPlateformes" value="1"> |
---|
| 46 | <bean:message key="data.access.plat2" arg0=""/> |
---|
| 47 | </logic:equal> |
---|
| 48 | <logic:notEqual name="nbPlateformes" value="1"> |
---|
| 49 | <bean:message key="data.access.plat2" arg0="s"/> |
---|
| 50 | </logic:notEqual> |
---|
| 51 | |
---|
| 52 | </th></tr> |
---|
| 53 | <tr> |
---|
| 54 | <td> </td> |
---|
| 55 | </tr> |
---|
| 56 | <tr> |
---|
| 57 | <td> |
---|
| 58 | <div id="messages"><bean:message key="data.access.plat.mobile"/> :</div> |
---|
| 59 | <nested:iterate property="plateformes" indexId="platId"> |
---|
| 60 | <nested:nest property="typePlateforme"> |
---|
| 61 | <nested:define id="typePlat" property="typePlateformeNom"/> |
---|
| 62 | </nested:nest> |
---|
| 63 | <nested:equal name="typePlat" value="MOBILE"> |
---|
| 64 | <bean:define type="java.lang.String" id="parite" value="<%=Calcul.getParite(platId.intValue())%>"/> |
---|
| 65 | <logic:equal name="parite" value="pair"><bean:define id="idP" value="pair"/></logic:equal> |
---|
| 66 | <logic:equal name="parite" value="impair"><bean:define id="idP" value="impair"/></logic:equal> |
---|
[161] | 67 | <table class="${idP}" style="margin-left: 20px"> |
---|
[89] | 68 | <tr> |
---|
| 69 | <td style="width:155px;" nowrap> |
---|
| 70 | <nested:define id="id" property="plateformeId"/> |
---|
| 71 | <html:link page="/DescPlateforme.do" titleKey="data.access.plat4" paramName="id" paramId="idPlat"> |
---|
| 72 | <nested:write property="plateformeNom"/> |
---|
| 73 | </html:link> |
---|
| 74 | </td> |
---|
| 75 | </tr> |
---|
| 76 | </table> |
---|
| 77 | </nested:equal> |
---|
| 78 | </nested:iterate> |
---|
| 79 | </td> |
---|
| 80 | </tr> |
---|
| 81 | <tr> |
---|
| 82 | <td> </td> |
---|
| 83 | </tr> |
---|
| 84 | <tr> |
---|
| 85 | <td> |
---|
| 86 | <div id="messages"><bean:message key="data.access.plat.fixe"/> :</div> |
---|
| 87 | <nested:iterate property="plateformes" indexId="platId"> |
---|
| 88 | <nested:nest property="typePlateforme"> |
---|
| 89 | <nested:define id="typePlat" property="typePlateformeNom"/> |
---|
| 90 | </nested:nest> |
---|
| 91 | <nested:equal name="typePlat" value="FIXED"> |
---|
| 92 | <bean:define type="java.lang.String" id="parite" value="<%=Calcul.getParite(platId.intValue())%>"/> |
---|
| 93 | <logic:equal name="parite" value="pair"><bean:define id="idP" value="pair"/></logic:equal> |
---|
| 94 | <logic:equal name="parite" value="impair"><bean:define id="idP" value="impair"/></logic:equal> |
---|
[161] | 95 | <table class="${idP}" style="margin-left: 20px"> |
---|
[89] | 96 | <tr> |
---|
| 97 | <td style="width:155px;" rowspan="2" nowrap> |
---|
| 98 | <nested:define id="id" property="plateformeId"/> |
---|
| 99 | <html:link page="/DescPlateforme.do" titleKey="data.access.plat4" paramName="id" paramId="idPlat"> |
---|
| 100 | <nested:write property="plateformeNom"/> |
---|
| 101 | </html:link> |
---|
| 102 | </td> |
---|
| 103 | </tr> |
---|
| 104 | </table> |
---|
| 105 | </nested:equal> |
---|
| 106 | </nested:iterate> |
---|
| 107 | </td> |
---|
| 108 | </tr> |
---|
| 109 | <tr> |
---|
| 110 | <td> </td> |
---|
| 111 | </tr> |
---|
| 112 | </table> |
---|
| 113 | |
---|
[247] | 114 | <div class="hdp" align="right"> |
---|
[253] | 115 | <html:link href="#top" titleKey="app.hdp"> |
---|
[247] | 116 | <html:img page="/resources/images/utils/fleche_haut.gif" width="20px" height="20px"/> |
---|
| 117 | </html:link> |
---|
| 118 | </div> |
---|
| 119 | |
---|
[89] | 120 | </nested:root> |
---|
| 121 | </tiles:put> |
---|
| 122 | </tiles:insert> |
---|