Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\netbusiness\customform\read_action.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. * * ******************************************************************************/ %> <%@page session="true"%><%@ page import="com.edeal.frontline.navigation.FlRequest"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <jsp:useBean class="com.edeal.frontline.FormBean" id="Form" scope="request"/> <% FlRequest flRequest = new FlRequest(request); DataDictionary dico = flRequest.getContext().getDataDictionary(); String id = null; try{ id = Form.getID(); }catch(FieldNotInitializedException fnie){ } String frmStatusID = null; String frmStatusCode = null; try { frmStatusID = Form.getFrmStatus(); } catch (FieldNotInitializedException e) { } if(frmStatusID != null){ try { frmStatusCode = dico.getRefCode("FrmStatus", frmStatusID); } catch (FrontlineException e) { } } %> <script language="javascript"> function doDelete(){ if (confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')) { window.parent.location = '<fl:link url="<%= \"/delete_customform.fl?id=\" + id%>"/>'; } } function doPurge(){ if (confirm('<fl:getMessage code="M6067" alt="Etes-vous sûr de vouloir purger les réponses pour ce questionnaire?" js="true"/>')) { window.parent.location = '<fl:link url="<%= \"/purge_customform.fl?id=\" + id%>"/>'; } } function openPreview(){ window.open('<fl:webapp/>/form_preview.fl?formID=<%= id %>&preview=1', 'PreviewForm', 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=1024,height=860'); } function eventCreate() { window.parent.location = '<fl:link url="<%= \"/create_event_from_customform.fl?formID=\" + id%>"/>'; } </script> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1 actions_nolabel"> <a class="" href="<fl:link url="<%= \"/customform_answers.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <img src="<fl:webapp/>/icons/ico/excel.png" border="0" alt="<fl:getMessage code="L70A7" alt="Exporter les réponses"/>" title="<fl:getMessage code="L70A7" alt="Exporter les réponses"/>"> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <% if("MAKING".equals(frmStatusCode) || "PUBLISHED".equals(frmStatusCode) || "ERROR".equals(frmStatusCode)){ %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/publish_customform.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"> <% if("PUBLISHED".equals(frmStatusCode)){ %> <fl:getMessage code="L704C" alt="Republier"/> <%} else { %> <fl:getMessage code="L7043" alt="Publier"/> <%} %> </p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <%} %> <% if("MAKING".equals(frmStatusCode) || "PUBLISHED".equals(frmStatusCode) || "ERROR".equals(frmStatusCode)){ %> <fl:access name="Form" operation="edit"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_customform.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="A0008" alt="Modifier"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} %> <fl:access name="Form" operation="delete"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDelete();"> <p class="actions_tabletext"><fl:getMessage code="A0007" alt="Supprimer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </fl:access> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <fl:access name="Form" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/copy_customform.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="L662A" alt="Dupliquer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </fl:access> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <% if("PUBLISHED".equals(frmStatusCode) || "ERROR".equals(frmStatusCode)){ %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/close_customform.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Clore"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <%} %> <fl:access name="FormResponse" operation="edit"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:openPreview();"> <p class="actions_tabletext"><fl:getMessage code="L6147" alt="Prévisualiser"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/get_form_answers.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="L81B7" alt="Voir réponses"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <fl:access name="FormReturn" operation="Delete"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doPurge();"/> <p class="actions_tabletext"><fl:getMessage code="L614A" alt="Purge des réponses"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> </fl:access>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de