Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\service\solicitation\quicklook.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" import="com.edeal.frontline.*,java.util.*, com.edeal.frontline.navigation.*"%> <jsp:useBean id="Solicitation" class="com.edeal.frontline.SolicitationBean" scope="request" /> <jsp:useBean id="Silhouette" class="com.edeal.frontline.SilhouetteBean" scope="request" /> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ taglib uri="http://www.e-deal.com/taglib/ft" prefix="ft" %> <%@ page isELIgnored="false" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); SolicitationBean obj = (SolicitationBean)request.getAttribute("Solicitation"); String id=null; try{ id = Solicitation.getID(); }catch(Exception e){ id=flRequest.getRequestParameterOrAttribute("id"); } String initSolChnID = Utils.getRequestParameter(context, request, "initSolChnID"); if (initSolChnID != null && !"".equals(initSolChnID)) { obj.setSolChnID(initSolChnID); } String solID = null; try { solID = obj.getID(); } catch (FieldNotInitializedException ex) { } String stateCode = null; try { stateCode = dico.getRefCode("SolStsID", obj.getSolStsID()); } catch (FieldNotInitializedException ex) { } catch (Exception ex) { } boolean isPer = false; try{ if (obj.getSolPerID()!=null) isPer = true; }catch(Exception fnie){} SilhouetteBean sil = (SilhouetteBean) request.getAttribute("Silhouette"); if(sil != null) { request.setAttribute("Silhouette", sil); } String msgID = null; try{ msgID = obj.getSolMsgID(); }catch(FieldNotInitializedException fnie){} String sfwID = flRequest.getRequestParameterOrAttribute("SfwID"); String loadCart = flRequest.getRequestParameterOrAttribute("loadCart"); %> <script type="text/javascript" language="javascript"> var eDealXmlhttpArr = new Array(); function doDelete(idSac){ if(window.confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer ?" js="true"/>')){ var str = '<fl:link url="/delete_object_ajax.fl?type=SAction&id='+idSac+'"/>'; doAjax(str, deleteSACReturn); } } function deleteSACReturn(arrIndex) { if (eDealXmlhttpArr[arrIndex].readyState == 4) { hideWaiting(); refreshAction(); } } function doEdit(idSac){ var win = window.open('<fl:link url="/edit_saction.fl?1=1" list="true" menu="true" webapp="true"/>&id='+idSac+'&solID='+'<%=id%>','Action' , 'toolbar=no,location=no,height=450,width=800'); } function viewActor(idActor){ window.location = '<fl:link url="/read_actor.fl?1=1" list="true" menu="true" webapp="true"/>&id='+idActor; } function doSac(){ var win = window.open('<fl:link url="/create_saction.fl?1=1" />&solID=<%=id%>','Action' , 'toolbar=no,location=no,height=450,width=800'); } function doSacSimple(){ var win = window.open('<fl:link url="/create_saction.fl?1=1" />&solID=<%=id%>&SacType=<%=SActionBean.SIMPLE_ACTION%>','Action' , 'toolbar=no,location=no,height=325,width=800'); } function wait10NrefreshAction(){ setTimeout("waitNrefreshAction()", 10); } function waitNrefreshAction(arrIndex) { refreshAction(); } function refreshAction(){ _grid__Saction_js_.render(); return ; } function wait10NgetWorkLoad(){ setTimeout("getWorkLoad()", 10); } function waitNgetWorkLoad(arrIndex) { getWorkLoad(); } function getWorkLoad(){ doAjax('<fl:webapp/>/get_workLoad.fl?SolID=<%=id%>'); } function waitNrefreshAll(){ setTimeout("refreshNpass()", 10); } function refreshNpass(){ if (eDealXmlhttp.readyState == 4){ //doAjax('<%=flRequest.computeURL("/list_SAction_ajax.fl?id="+id)%>', waitNgetWorkLoad); } } function doReadKnowledgeBase(id){ var query ="knowledge_base.fl?CrtID="+id+"<%=sfwID!= null ? "&SfwID=" + sfwID : ""%>"; window.open(query, 'knowledge_base', 'width=1024,height=768,scrollbars,resizable'); } function doDelCart(id) { if (id && confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')) { doAjax('<fl:webapp/>/delete_object_ajax.fl?type=Cart&id=' + id, cartDelReturn); } } function cartDelReturn(arrIndex) { if (eDealXmlhttpArr[arrIndex].readyState == 4) { window.setTimeout(refreshCart, 10); } } function doOnLoad() { _grid__INTERACENT_js_.render(); } </script> <style> .dataValue { width: 100%; /*overflow: hidden;*/ margin: 0px; padding: 0px; padding-left: 10px; font-size: small; font-size: expression("x-small"); color: rgb(0, 0, 0); font-family: Arial, Verdana, sans-serif; vertical-align: top; } </style> <fl:bigTabs objectTitle="<%=Utils.getMessage(session, \"L60E8\", false, true, \"Sollicitation\")%>" ou="<%=\"/read_solicitation.fl\"+(id!=null? \"?id=\"+id : \"\")%>"> <table class="container" cellpadding="0"> <tr> <td colspan="5" class="titreFiche"> <fl:getProperty name="Solicitation" property="SolSubject" alt=""/> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldRead property="SolCategorie_" alt=""/> <fl:fieldRead property="SolStsID" alt=""/> <fl:fieldRead property="SolChnID" alt=""/> <fl:fieldRead property="SolGravite_" alt=""/> <fl:fieldRead property="SolToken" alt=""/> <tr class="fieldline"> <td id="Tiers_label" class="dataLabel"><fl:label code="FF0A4" label="Solliciteur(s)"/></td> <td id="Apercu_value" class="dataValue"> <fl:getProperty name="Solicitation" property="SolSolliciteurs_" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_person.fl\") %>" postText="<br>" alt=""/> </td> </tr> <fl:fieldRead property="SolDate_" alt=""/> <fl:fieldRead property="SolHeureDebut_" alt=""/> <fl:fieldRead property="SolHeureFin_" alt=""/> <tr class="fieldline"> <td id="Tiers_label" class="dataLabel"><fl:label code="FF076" label="Tiers concerné"/></td> <td id="Apercu_value" class="dataValue"> <fl:getProperty name="Solicitation" property="SolTiersConcerne_" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_enterprise.fl\") %>" alt=""/> </td> </tr> <tr class="fieldline"> <td id="Tiers_label" class="dataLabel"><fl:label code="LF012" label="Réservation"/></td> <td id="Apercu_value" class="dataValue"> <fl:getProperty name="Solicitation" property="SolReservation_" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_reservation_.fl\") %>" alt=""/> </td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldRead property="SolSourcePlainte_" alt=""/> <fl:fieldRead property="SolCommentaire_" alt=""/> <fl:fieldRead property="SolMontantIndemn_" postText=" €" alt=""/> <tr class="fieldline"> <td id="SolVoie_label" class="dataLabel"><span style="color:#0000;font-weight: bold;"> </span></td> </tr> <tr class="fieldline"> <td id="Tiers_label" class="dataLabel"><fl:label code="FF0A3" label="Acteur(s) en charge"/></td> <td id="Apercu_value" class="dataValue"> <fl:getProperty name="Solicitation" property="SolActeursCharge_" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_actor.fl\") %>" postText="<br>" alt=""/> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <table class="container" cellpadding="0"> <tr> <td> <fl:notes name="SolNotes" title="<%=Utils.getMessage(session, \"F2024\", false, true, \"Notes\")%>"><fl:getProperty name="Solicitation" property="SolNotes_" alt=""/></fl:notes> </td> </tr> </table> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <fl:smallTabs name="TODOS"> <fl:sTab id="Todos" title="<%=Utils.getMessage(session, \"LF011\", false, true, \"Todos\")%>"> <fl:grid name="INTERACENT" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=INTERACSOL&IntSolicitation_=\" + id %>" /> </fl:sTab> </fl:smallTabs> <fl:smallTabs name="FICHIERS"> <fl:sTab id="AttFiles" title="<%=Utils.getMessage(session, \"L201C\", false, true, \"Fichiers\")%>"> <div class="dataValue"> <fl:attach name="Solicitation" colID="SolAttID" edit="false"/> </div> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de