Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\kbase\faqheader\edit_tag_popup.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" contentType="text/html; charset=UTF-8"%> <%@page import="org.apache.commons.lang.StringUtils"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.util.HashMap" %> <%@ page import="com.edeal.frontline.helper.custom.TagHelper" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% 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(); String codeTag = flRequest.getParameter("codetag"); HashMap<String, String> listTag = (HashMap<String, String>)flRequest.getAttribute("listtag"); %> <html> <head> <title><fl:getMessage code="L2025" alt="E-DEAL"/> CRM</title> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/master_css.jsp"> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/master_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/edeal/libraries/jquery/jquery.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ajax/ajax.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/ac/fobAC_js.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/presentField.js"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/checkFields.jsp"></script> <script type="text/javascript" language="javascript" src="<fl:webapp/>/js/utils.js"></script> <script language="javascript"> function save() { submit(); } </script> </head> <body> <div id="object_css" style="top: 0px; left: 0px; bottom: 0px; height: 100%;"> <form method="post" action="<fl:link url="<%=\"/save_tag.fl?codetag=\" + codeTag %>"/>"> <input id="$$presentFields" name="$$presentFields" type="hidden" value=""/> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L610E\", \"Mot-clé\") %>" ou="<%= \"/edit_tag.fl\" + (codeTag != null ? \"?codetag=\" + codeTag : \"\") %>"> <table class="container" cellpadding="0"> <tr class="fieldline"> <td class="dataLabel"> <table class="container" cellpadding="0"> <% String defaultLng = TagHelper.DEFAULT_LANGUAGE; String tagTextDefault = (String) listTag.get(defaultLng); %> <tr class="fieldline"> <td class="dataLabel"><fl:label forInput="<%= \"Tag_\" + defaultLng %>" code="L207A"/></td> <td class="dataValue"> <div class="input text" > <input type="text" class="input text" id="Tag_<%= defaultLng %>" name="Label_<%= defaultLng %>" value="<%= "".equals(tagTextDefault) ? "" : Utils.formatToWeb(tagTextDefault, false) %>" readonly="readonly" disabled="disabled"><br/> </div> </td> </tr> <% Vector lngs = dico.getRefList(session, "TagLngID"); for (int i = 0 ; i < lngs.size() ; i++) { Vector lngCouple = (Vector) lngs.elementAt(i); String lngId = (String) lngCouple.elementAt(0); String tagText = (String) listTag.get(lngId); String lngCode = (String) lngCouple.elementAt(1); %> <tr class="fieldline"> <td class="dataLabel"><fl:label forInput="<%= \"Tag_\" + lngId %>" label="<%= lngCode %>"/></td> <td class="dataValue"> <div class="input text" > <input type="text" class="input text" id="Tag_<%= lngId %>" name="Label_<%= lngId %>" value="<%= ((tagText == null) || ("".equals(tagText))) ? "" : Utils.formatToWeb(tagText, false) %>"><br/> </div> </td> </tr> <% } %> </table> </td> </tr> <tr class="ligne_separation"><td colspan="5"></td></tr> </table> </fl:bigTabs> </form> <table class="container" width="100%"> <tr class="fieldline"> <td colspan="2" style="text-align: center;"> <a href="javascript:save();"><img src="<fl:webapp/>/icons/ico/valid_green_long.gif"></a> <a href="javascript:window.close()"><img src="<fl:webapp/>/icons/ico/fermer_red_long.gif"></a> </td> </tr> </table> </div> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de