Edit C:\galaxie\Back\galaxie\marketing\market\read.jsp
<% /****************************************************************************** * Copyright (c) 2000-2005 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.*"%><%@page import="java.util.*" %> <%@ page import="com.edeal.frontline.grid.GridData" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.MarketBean" id="Market" scope="request"/> <% 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(); Vector vectCfi = dico.getRefList(session, "NotCfiID"); String id = null; try { id = Market.getID(); } catch (FieldNotInitializedException fnie) { } %> <script language="javascript"> function doDelete(idNote){ var url = '<fl:link url="/delete_object_ajax.fl?type=Note"/>'+'&id='+idNote; doAjax(url); setTimeout("refresh()", 10); setTimeout("refresh()", 10); setTimeout("refresh()", 10); setTimeout("refresh()", 10); } function confirmDelete(iNote){ if(confirm('Etes-vous sûr de vouloir supprimer cette note?')){ doDelete(iNote); } } function doEdit(idNote){ var url = '<fl:link url="<%= \"/view_note.fl\"%>"/>'+'&id='+idNote+'&parent=market'; window.open(url,'Note' , 'toolbar=no,location=no,height=600,width=800'); } function doRead(idNote){ var url = '<fl:link url="<%= \"/read_note.fl\"%>"/>'+'&id='+idNote+'&parent=market'; window.open(url,'Note' , 'toolbar=no,location=no,height=400,width=800'); } function waitNrefresh(arrIndex) { //doAjax(myAjaxURL_marnote); _grid__marnote_js_.render(); } function wait10Nrefresh(){ setTimeout("waitNrefresh()", 10); } function refresh(){ //doAjax(myAjaxURL_marnote); _grid__marnote_js_.render(); } function doSearch(){ var f = window.document.forms[0]; var ajaxUrl = _grid__marnote_js_.getAjaxUrl(); var params = {}; //params['id']='<%=id%>'; params['type']= f.ReqCfiID.options[f.ReqCfiID.selectedIndex].value; if (f.ReqWord.value != '<fl:getMessage code="L2067" alt="<Mots clés>" js="true"/>'){ params['word']=f.ReqWord.value; } _grid__marnote_js_.callAjaxForHtml(ajaxUrl,params,false); } </script> <fl:bigTabs objectTitle="<%=Utils.getMessage(session, \"L6393\", false, true, \"Fiche Marche\")%>" ou="<%=\"/read_market.fl?id=\"+Market.getID()%>" > <table class="container" cellpadding="0"> <tr> <td class="titreFiche" colspan="3"> <fl:getProperty name="Market" property="MarSubject" alt=" "/> </td> </tr> <tr><td colspan="3" class="ligne_separation"/></tr> <tr class="fieldline"> <td class="column2"> <table class="data_column" cellpadding="0" width="100%"> <fl:fieldRead property="MarOrigin"/> <fl:fieldRead property="MarMcaID"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td> <table> <fl:fieldRead property="MarKeywordID"/> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <fl:smallTabs name="MARDET"> <fl:sTab id="WALL" title="<%= Utils.getMessage(session, \"L81AD\", false, true, \"Mur\") %>"> <div class="wallInTab"> <edWallPost id="wall2" group='{"id": "wall2"}' isReadOnly="false" isRequired="false" isMultiValued="true" childViewsInDifferentGroups="true" async='{"url": "post_object.fl", "parameters":{"objId":"<%=id%>", "objType":"Market", "top":"10"}}' toolTip=""> </edWallPost> </div> </fl:sTab> <fl:sTab id="MarDet" title="<%= Utils.getMessage(session, \"F2045\", false, true, \"Descriptif collaborateur\") %>"> <table class="container" cellpadding="0"> <tr> <td class="dataValue"> <fl:getProperty name="Market" property="MarDetails" alt=" "/> </td> </tr> </table> </fl:sTab> <fl:sTab id="MARKET1" title="<%= context.getAutoDisplayManager().getTitle(session, \"Market\", \"Marché 1\") %>" visible="<%= context.getAutoDisplayManager().hasEntry(\"Market\", \"Marché 1\") %>"> <fl:autodisplay name="Market" zone="Marché 1"/> </fl:sTab> <fl:sTab id="MARNOTES" title="<%= Utils.getMessage(session, \"F2024\", \"Notes\") %>" onselect="doSearch();"> <form action="javascript:doSearch()" method="post"> <table class="container" cellpadding="0"> <tr> <td> <table class="container" cellpadding="0" style="width:50%"> <tr> <td class="dataLabel" style="width:250"> <% if(vectCfi != null && !vectCfi.isEmpty()) { %> <select class="select" name="ReqCfiID"> <option value=""><<fl:getMessage code="F203C" alt="Domaine"/>></option> <% for(int i = 0; i < vectCfi.size(); i++) { Vector row = (Vector)vectCfi.elementAt(i); %> <option value="<%= Utils.formatToWeb((String)row.elementAt(0), true) %>"><%= Utils.formatToWeb((String)row.elementAt(1), false) %></option> <% } %> </select> <% } %> </td> <td style="width:10"></td> <td class="dataLabel" style="width:250"> <input class="select" name="ReqWord" type="text" value="<fl:getMessage code="L2067" alt="<Mots clés>" js="true"/>" onfocus="if(this.value == '<fl:getMessage code="L2067" alt="<Mots clés>" js="true"/>') this.value = ''" maxlength="100" onBlur="if(this.value == '') this.value = '<fl:getMessage code="L2067" alt="<Mots clés>" js="true"/>'"> </td> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="dataLabel noPaddingRight" style="width:10%"> <a href="javascript:doSearch()"><input type="image" src="<fl:webapp/>/icons/ico/valid_green2_long.gif" border="0"></a> </td> </tr> </table> </form> <div> <fl:grid height="100" width="100%" name="marnote" ajaxUrl="<%= \"/list_mar_note.fl?id=\" + Market.getID() %>"/> </div> </fl:sTab> <fl:sTab id="MARATT" title="Fichiers attachés"> <fl:attach name="Market" colID="MarAttID" edit="false"/> </fl:sTab> </fl:smallTabs> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de