[5] | 1 | <!-- Projet Ether - $Id: reception_media.jsp,v 1.4 2002/07/18 12:46:04 pn Exp $ --> |
---|
| 2 | <META HTTP-EQUIV="Cache-Control" content="no-cache"> |
---|
| 3 | <META HTTP-EQUIV="Pragma" content="no-cache"> |
---|
| 4 | <META HTTP-EQUIV="Expires" content="Mon, 01 Jan 1990 12:00:00 GMT"> |
---|
| 5 | |
---|
| 6 | <%@ page import="fr.alcatel.ether.tools.*"%> |
---|
| 7 | <%@ page import="fr.alcatel.ether.app.common.* "%> |
---|
| 8 | <%@ page import="org.apache.ecs.html.*" %> |
---|
| 9 | <%@ page import="fr.alcatel.ether.app.order.media.MediaOrder" %> |
---|
| 10 | <%@ page import="java.util.Locale" %> |
---|
| 11 | |
---|
| 12 | <jsp:useBean scope="request" id="mediaBean" class = "fr.alcatel.ether.bean.HashMapBean"> |
---|
| 13 | </jsp:useBean> |
---|
| 14 | |
---|
| 15 | <% |
---|
| 16 | MultiLanguage ml = MultiLanguage.instance((Locale) JSPUtils.getSessionParameter(request, "langue")); |
---|
| 17 | %> |
---|
| 18 | <head> |
---|
| 19 | <title><%=(String) request.getAttribute("title")%></title> |
---|
| 20 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
| 21 | <link rel="stylesheet" href="/ether/ether.css"> |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | <SCRIPT language="JavaScript"> |
---|
| 25 | |
---|
| 26 | function valider() |
---|
| 27 | { |
---|
| 28 | var base = '<%=(String) request.getAttribute("retour")%>' ; |
---|
| 29 | |
---|
| 30 | if ( document.recepForm.rad[0].checked ) |
---|
| 31 | { |
---|
| 32 | self.opener.location = base + '&<%= Constants.MEDIA_SELECTION %>=' + document.recepForm.rad[0].value; |
---|
| 33 | } |
---|
| 34 | else |
---|
| 35 | { |
---|
| 36 | self.opener.location = base + '&<%= Constants.MEDIA_SELECTION %>=' + document.recepForm.rad[1].value; |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | self.close(); |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | function fermer() |
---|
| 43 | { |
---|
| 44 | window.close(); |
---|
| 45 | } |
---|
| 46 | |
---|
| 47 | </SCRIPT> |
---|
| 48 | </head> |
---|
| 49 | <body> |
---|
| 50 | <% |
---|
| 51 | int indexSelected = Integer.valueOf((String)request.getAttribute(Constants.INDEX)).intValue(); |
---|
| 52 | MediaOrder mediaSelected = (MediaOrder) mediaBean.getElement(indexSelected); |
---|
| 53 | %> |
---|
| 54 | <p class="petit" align="left"><b><%= ml.get("media.selected")%> </b><%= mediaSelected.getName() %></p> |
---|
| 55 | <form name="recepForm" method="post" action=""> |
---|
| 56 | <INPUT TYPE="radio" NAME="rad" VALUE="ok" CHECKED > <span class="moyen"><%= ml.get("media.reception.ok")%><BR></span> |
---|
| 57 | <INPUT TYPE="radio" NAME="rad" VALUE="nok"> <span class="moyen"><%= ml.get("media.reception.nok")%><BR></span> |
---|
| 58 | </form> |
---|
| 59 | <table width="14%" border="3" cellspacing="0" cellpadding="0" align="center"> |
---|
| 60 | <tr> |
---|
| 61 | <td width="78%"> |
---|
| 62 | <p align="center"><a href="javascript:valider();"><%= Config.getButton(Config.bouton_valider,"bouton_valider_src","bouton_valider",ml) %></a></p> |
---|
| 63 | </td> |
---|
| 64 | <td width="22%"> |
---|
| 65 | <p align="center"><a href="javascript:fermer();"><%= Config.getButton(Config.bouton_fermer,"bouton_fermer_src","bouton_fermer",ml) %></a></p> |
---|
| 66 | </td> |
---|
| 67 | </tr> |
---|
| 68 | </table> |
---|
| 69 | <p> </p> |
---|
| 70 | </body> |
---|
| 71 | </html> |
---|